npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@pota/vite-skeleton

v0.0.2

Published

<div align="center">The skeleton with the <b>foundational vite configuration</b> for bootstrapping new projects.</div> <br />

Readme

vite-skeleton downloads

Setup 🚀

You can create a new project using the @pota/create package.

npx @pota/create vite my-vite-app

Standards 📒

This project follows the MediaMonks Frontend Coding Standards

Features 🔋

Pota Commands

build - builds the source using vite.

npm run build # or npx pota build

| Option | Type | Default | Description | | ----------------- | ----------- | -------- | --------------------------------------------------------------- | ---------- | ------ | ---------------------------------------------------------------------- | | debug | {Boolean} | false | Sets NODE_ENV to 'development'. | | output | {String} | ./dist | The build output directory. | | source-map | {Boolean} | false | Enable source-map generation. | | public-path | {String} | / | The location of static assets on your production server. | | log-level | {'info' | 'warn' | 'error' | 'silent'} | info | Adjust console output verbosity. (https://vitejs.dev/config/#loglevel) | | force | {Boolean} | false | Ignore pre-bundled dependencies (the node_modules/.vite cache). |

dev - starts the vite development server.

npm run dev # or npx pota dev

| Option | Type | Default | Description | | ----------------- | ----------- | ------- | ------------------------------------------------------------------------------------- | ---------- | ------ | ---------------------------------------------------------------------- | | force | {Boolean} | false | Ignore pre-bundled dependencies (the node_modules/.vite cache). | | https | {Boolean} | false | Run the development server with HTTPS. | | open | {Boolean} | true | Allows to configure dev server to open the browser after the server has been started. | | port | {Number} | 2001 | Allows configuring the port. | | cors | {Boolean} | false | Enable CORS. | | prod | {Boolean} | false | Sets NODE_ENV to 'production'. | | log-level | {'info' | 'warn' | 'error' | 'silent'} | info | Adjust console output verbosity. (https://vitejs.dev/config/#loglevel) | | public-path | {String} | / | The location of static assets on your production server. |

preview - server the built /dist directory.

npm run preview # or npx pota preview

| Option | Type | Default | Description | | ----------------- | ----------- | ------- | ------------------------------------------------------------------------------------- | ---------- | ------ | ---------------------------------------------------------------------- | | https | {Boolean} | false | Run the development server with HTTPS. | | open | {Boolean} | true | Allows to configure dev server to open the browser after the server has been started. | | port | {Number} | 2001 | Allows configuring the port. | | cors | {Boolean} | false | Enable CORS. | | log-level | {'info' | 'warn' | 'error' | 'silent'} | info | Adjust console output verbosity. (https://vitejs.dev/config/#loglevel) | | public-path | {String} | / | The location of static assets on your production server. |

hidden TODOs

Scripts

Non-Pota scripts defined in "scripts" of package.json and are runnable using npm run {script}

| Script | Description | | ----------------- | -------------------------------------------------------------------------- | | typecheck | Checks for type errors and unused variables/types in the source directory. | | fix | Executes all fix:* and format commands in sequence. | | **fix:eslint** | Executes eslint:lint and fixes fixable errors. | | **format** | Formats the source files using prettier. | | **lint** | Executes all lint:* commands in sequence. | | **lint:eslint** | Lints the source files using eslint. | | **rsync** | Synchronizes (uploads) dist/` files to a remote server. |

JavaScript / TypeScript

hidden TODOs

CSS

hidden TODOs

Images

hidden TODOs

Misc. Assets

hidden TODOs

Linting & Formatting

hidden TODOs

Deployment

Remote Sync

For simple deployments, when you just want to upload your files to a remote server, you can use the rsync script.

Note: before using the rsync script, make sure to configure a host in in the "package.json"

npm pkg set config.host="github.com"

hidden TODOs

Git

hidden TODOs

Continuous Integration / Continuous Deployment

Bitbucket

webpack-skeleton comes with bitbucket-pipelines.yml, pre-configured to run check-types, lint and test scripts.

hidden TODOs