A ridiculously simple starting point for a modern Node app, that is linted, formatted, compiled, and tested.
What does this have?
- Prettier
- ESLint (AirBnB base config)
- Mocha + Chai tests
- Babel transpilation
- Great CI Integration (all files must be formatted and linted before tests are run)
Installation
git clone git@github.com:ryanmcdermott/node-boilerplate.git
cd node-boilerplate
npm install
Building example
npm build
Linting
npm run lint
Testing
npm test
Formatting (with Prettier)
npm run fmt
Running example
npm start