A boilerplate for my projects
npm install -g boilerplatify
cd directory/to/boilerplatify
boilerplatify
This sets up a node project:
-
Initializes package.json
-
MIT license
-
Basic README.md
-
Travis badge and .travis.yml
-
If enabling tests, then adds
npm test
with nodeunit and istanbul and installs the packages into package.json -
If enabling browser support, then adds a
npm build
with UMD browserify and a default favicon -
Initializes .gitignore
Note that boilerplatify's changes are non-destructive. It won't overwrite an existing README or overwrite any data in .gitignore or package.json.
MIT