1.0.0 • Published 6 years ago

npm-minimal-boilerplate v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

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