boilermaker
Boilerplate configurator for modern js.
Last updated 4 years ago by pori .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install boilermaker 
SYNC missed versions from official npm registry.

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/boilermaker

Then, in a Makefile in the root of your project:

include node_modules/boilermaker/Makefile

Usage


   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 it

Options

Set these before loading in the Makefile.

  • BIN_DIR - location of babel, ava, eslint, and nyc binaries
  • BUILD_DIR - destination for built es2015 code
  • SRC_DIR - destination of source code
  • BUILD_FLAGS - babel options
  • LINT_FLAGS - eslint options
  • TEST_FLAGS - ava options
  • DOC_FLAGS - options for documentation.js

License

MIT


pori.io  ·  GitHub @pori  ·  Twitter @pori_alex

Current Tags

  • 0.2.2                                ...           latest (4 years ago)

2 Versions

  • 0.2.2                                ...           4 years ago
  • 0.2.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |