Minimal boilerplate for creating NPM packages
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.babelrc
.eslintrc
.gitignore
.npmignore
LICENSE
README.md
package.json
yarn.lock

README.md

Minimal boilerplate for creating NPM packages

Boilerplate to get started with NPM package instantly.

Features

Usage

  1. Clone the repo: git clone https://github.com/ganapativs/npm-minimal-boilerplate.git my-awesome-npm-package && cd $_
  2. Remove .git: rm -rf .git
  3. Install dependencies: yarn
  4. Lint: yarn run lint
  5. Fix lint issues and prettify code 😎: yarn run lint-fix
  6. Transpilation to ES5 in dist folder: yarn run prepublish (standard npm hook)
  7. Push package to your own Github repository
  8. Publish package: yarn run publish

Todo

  • Test cases

License

MIT