A template for Node.js modules
Stability: 1 - Experimental
basics
.eslintrc
&.eslintignore
- style rules closely follow google's javascript style guide.gitignore
&.npmignore
- MIT LICENSE
- a
index.js
pointing tolib/
- plus a
.travis.yml
package.json scripts
npm test
- eslint, istanbul + nyc and mochanpm install
- will add a pre-commit hook which runsnpm test
(existing hooks will be overwritten)npm run lint
- eslintnpm run log
- generate a markdown formatted changelognpm run clean
- rmcoverage/
,node_modules
,npm-debug.log
,.nyc_output
npm test
firefox coverage/lcov-report/index.html
Statements : XX.XX% ( YY/ZZ )
Branches : XX.XX% ( YY/ZZ )
Functions : XX.XX% ( YY/ZZ )
Lines : XX.XX% ( YY/ZZ )