@akameco/generator-nm
Scaffold out a node module
Optionally with a CLI.
Fork from sindresorhus/generator-nm
Diffs
- jest
- prettier
- flow
- eslint/eslint-config-precure
- hasky/lint-staged
- all-contirbutors
Install
$ npm install --global yo @akameco/generator-nm
Usage
With yo:
$ yo nm
There are multiple command-line options available:
$ yo nm --help
Usage:
yo nm [options]
Options:
--help # Print the generator's options and usage
--skip-cache # Do not remember prompt answers Default: false
--skip-install # Do not automatically install dependencies Default: false
--cli # Add a CLI
--coverage # Add code coverage with nyc
--coveralls # Upload coverage to coveralls.io (implies --coverage)
Tip
Use chalk if you want colors in your CLI.
License
MIT © akameco