Skip to content

Latest commit

 

History

History
52 lines (30 loc) · 1.72 KB

readme.md

File metadata and controls

52 lines (30 loc) · 1.72 KB

generator-nms

Build Status standard-readme compliant

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.

Install

$ npm install --global generator-nms

Usage

With yo:

$ yo nms

Travis

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.

Tip

Use chalk if you want colors in your CLI.

Contribute

PRs and issues gladly accepted.

License

MIT © Richard Littauer