node-bb
v2.0.11
Published
Simple node bable boilerplate which includes steps: watch, build, test, serve
Downloads
11
Readme
node-babel-boilerplate
Centralize build steps in one library. For any application applies Babel, Gulp tasks and ESLint, just simply include this library in package.json
, it will automatically overwrite .babelrc
, .eslintrc
, gulp.js
"devDependencies": {
"node-bb": "*"
}
Basic setup
Create package.json
scripts
"scripts": {
"start": "gulp clean && NODE_ENV=development gulp",
"lint": "gulp lint",
"build": "gulp build",
"serve": "gulp serve"
}
Include gulp.js
in gulpfile.babel.js
import 'babel-polyfill'
import './gulp'
Features:
- [x] Babel
- [x] Basic Gulp tasks: watch, build, serve
- [x] ESLint
Further Things:
- [ ] Gulp task for running Test with Mocha
- [ ] Unit Test