Skip to content

Scaffold out a minimal node module using standard and ava

License

Notifications You must be signed in to change notification settings

RichardLitt/generator-nms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Scaffold out a minimal node module using standard and ava

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published