Scaffold out a minimal node module using standard and ava
Optionally with a CLI.
This is what I use for my own modules. It is based heavily on sindresorhus/generator-nm. The differences are:
- I use standard instead of xo;
- I removed the .editorconfig file because I never use it;
- I made the description part of the initial setup instead of using superb;
- I added a
lint
command to the package.json. - I use standard-readme.
I expect that there will be more differences in the future.
$ npm install --global generator-nms
With yo:
$ yo nms
Note that this adds a .travis.yml
, but doesn't enable it. To do this, I would suggest installing the Travis CLI, and then running travis enable
in the repo after running yo nms
.
Use chalk if you want colors in your CLI.
PRs and issues gladly accepted.
MIT © Richard Littauer