boil-npm-package
Quickly boilerplate a new npm package from the command line. Lays out the standard package structure with pre-populated package.json
, npm run
scripts, test, lib and bin files etc..
Install
This installs the package
command:
$ npm install -g boil-npm-package
Usage
$ package new-module33 bytes written to new-module/bin/cli.js664 bytes written to new-module/jsdoc2md/README.md13 bytes written to new-module/lib/new-module.js84 bytes written to new-module/test/test.js1100 bytes written to new-module/LICENSE435 bytes written to new-module/package.json520 bytes written to new-module/README.md76 bytes written to new-module/.travis.yml $ cd new-module$ tree -a.├── .travis.yml├── LICENSE├── README.md├── bin│ └── cli.js├── jsdoc2md│ └── README.md├── lib│ └── new-module.js├── package.json└── test └── test.js