Node Mocha Chai lib stencil
This is a stencils for common package base on node.
Current Status:
Features:
- Include CI Script to run the test and publish your package.
- Support ES6 syntax
- Support ESlint to check the code.
- Support Mocha to test your code.
Development:
Setup
Copy this stencil and replace node-mocha-chai-lib
with your package name.
Linting
$ yarn lint
Testing
$ yarn test
# or run the test in watch mode
$ yarn test:watch
Compile code
$ yarn babel
# or run babel in watch mode
$ yarn babel:watch
Generate distribution code
$ yarn build
Setup CI
- Update the travis-ci config travis.yml
- Setup the ci into travis-ci.
Publish your package
$ yarn release
License
node-mocha-chai-lib is released under the MIT license.