0.2.2 • Published 9 years ago
boilermaker v0.2.2
Boilermaker
Boilerplate configurator for modern JS.
Features
- develop in es2015+ code
- linting
- unit testing with ava
- code coverage
- generate documentation
- repl with current project context
Install
npm install pori/boilermakerThen, in a Makefile in the root of your project:
include node_modules/boilermaker/MakefileUsage
build - compile es2015+ code for distribution
lint - validate source code
test - run tests (lints, builds first)
test-cov - run tests with code coverage
doc - generate documentation (md by default)
repl - start node repl with built code automatically required
help - you're looking at itOptions
Set these before loading in the Makefile.
- BIN_DIR - location of
babel,ava,eslint, andnycbinaries - BUILD_DIR - destination for built es2015 code
- SRC_DIR - destination of source code
- BUILD_FLAGS -
babeloptions - LINT_FLAGS -
eslintoptions - TEST_FLAGS -
avaoptions - DOC_FLAGS - options for documentation.js
License
MIT
pori.io · GitHub @pori · Twitter @pori_alex