A node module boilerplate
This is a boilerplate for a node module using:
- mocha tests,
- c8 for code coverage,
- eslint using standard syntax for code linting and
- babel for transpilation
- rollup for bundling
The files contain examples to show the usage of the different tools in your code.
Run the different tools from npm
npm test
- Run testsnpm run coverage
- Run c8 code coverage (shows code coverage; opencoverage/index.html
after run)npm run lint
- Linting the sourcenpm run types
- Generate typescript types
If you contribute code to this project, you are implicitly allowing your code to be distributed under the MIT license. You are also implicitly verifying that all code is your original work or correctly attributed with the source of its origin and license.
Copyright (c) 2016- commenthol (MIT License)
See LICENSE for more info.