An npm module boilerplate with good configs. Heavily inspired by nod.
- Babel - Write next generation JavaScript today;
 - Jest - JavaScript testing framework used by Facebook;
 - ESLint - Make sure you are writing a quality code;
 - Prettier - Enforces a consistent style by parsing your code and re-printing it;
 - Documentation - A documentation system so good, you'll actually write documentation.
 
git clone this repo
$ git clone https://github.com/jforaker/boilr-module my-module
$ cd my-module
$ rm -rf .git
$ npm install # or yarnJust make sure to edit package.json, README.md and LICENSE files accordingly with your module's info.
$ npm test # run tests with Jest
$ npm run coverage # run tests with coverage and open it on browser
$ npm run lint # lint code
$ npm run docs # generate docs
$ npm run build # generate docs and transpile code
$ npm run changelog # generate CHANGELOG.MD
$ npm run watch # watch code changes and run scripts automatically
$ npm run patch # bump patch version and publish to npm e.g. 0.0.1
$ npm run minor # bump minor version and publish to npm e.g. 0.1.0
$ npm run major # bump major version and publish to npm e.g. 1.0.0below is autogenerated by npm run docs
    "docs": "documentation readme src --section=DOCS"
This function says hello.
Parameters
namestring a name to say hello to. (optional, default'derf')
Returns string the greeting.