Provides a basic application base for Node that includes a default configuration for linting, testing and getting the ball rolling quickly.
Included:
- Some libraries that seem to always appear in my projects;
ramda
,partial.lenses
,kefir
,kefir.atom
- BDD-based testing with
mocha
andchai
- Code coverage reporting with
nyc
andcodecov
- Linting with
eslint
- Code compilation with
babel
- Debugging support for
VS Code
yarn
instead ofnpm
(easy install on OSX:brew update && brew install yarn
)
git clone https://github.com/stuf/node-application-base.git
cd node-application-base
yarn
yarn start
yarn run test
yarn run build
Basically runs lint
and test
before invoking git push
. Convenience script to avoid accidentally pushing broken code.
yarn run push
Released under the MIT License