node-bb
Simple node bable boilerplate which includes steps: watch, build, test, serve
Last updated 3 years ago by crashbell .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install node-bb 
SYNC missed versions from official npm registry.

node-babel-boilerplate Build Status

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

Current Tags

  • 2.0.11                                ...           latest (3 years ago)

8 Versions

  • 2.0.11                                ...           3 years ago
  • 2.0.9                                ...           3 years ago
  • 2.0.8                                ...           3 years ago
  • 2.0.7                                ...           3 years ago
  • 2.0.6                                ...           3 years ago
  • 2.0.5                                ...           3 years ago
  • 2.0.3                                ...           3 years ago
  • 2.0.2                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 7
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |