Skip to content

Simple node boilerplate with babel which includes steps: watch, build, test, serve

License

Notifications You must be signed in to change notification settings

crashbell/node-bb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-babel-boilerplate Build Statusnpm version

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:

  • Babel
  • Basic Gulp tasks: watch, build, serve
  • ESLint

Further Things:

  • Gulp task for running Test with Mocha
  • Unit Test

About

Simple node boilerplate with babel which includes steps: watch, build, test, serve

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published