0.0.3 • Published 5 years ago
@schlagerkhan/npm-package-boilerplate v0.0.3
Npm Package Boilerplate
A simple boilerplate for creating npm packages.
Features
- Babel 7 (with some nice plugins)
- Jest
- Eslint
- Prettier
Instructions
Modify the package.json to your reflect project.
Develop your code, create tests and make sure it runs. When you are happy with the result, run npm publish
to publish it to npm.
If you want to scope your code with, for instance, your username (like this package) - rename your module in the package.json
and then run npm publish --access public
.
Commands
- test:
yarn test
||yarn test:watch
- lint:
yarn lint
- build:
yarn build
Todo
- Add coverage
Contribute
Pull requests are welcome.