generator-jt-nm
v11.6.3
Published
Similar to `nm` generator, but tweaked to my preferences
Downloads
3
Maintainers
Readme
generator-jt-nm
A fork of the node module scaffolding by @sindresorhus. It changes preferred indentation to spaces from tabs, and moves tests to a subdirectory. It adds istanbul for coverage (with coveralls reporting), and JSCS for style enforcement. It adds a bunch of badges to the readme (nodei.co, coveralls, david-dm, and codeclimate).
Build Targets in Generated Project
npm test
: run tests with coverage, then lint and check stylesnpm run test
: watch for changes and rerun the tests when detected.npm run lint
: run just the linternpm run style
: run just the style checknpm run debug
: run tests (no coverage, no lint/style checks). Especially helpful if your stacktraces have mangled line numbers
Optionally with a CLI.
Install
$ npm install --global generator-jt-nm
Usage
With yo:
$ yo jt-nm
Tip
Browse the source of my module and the upstream one by @sindresorhus. It's incredibly easy to fork and tweak things to your liking.
License
MIT
Original Source © Sindre Sorhus
Modifications © James Talmage