Home

Awesome

Boilerplate using Gulp, ES6 and SASS

Simple boilerplate based on dverbovyis gist. Thanks.

Prerequisite

You need do have gulp-cli somewhere installed

Download the ZIP file and change into the directory and run

npm install
$PATH_TO_GULP/gulp run

JSX

To use it with JSX run

npm install --save-dev babel-preset-react

And replace the content of .babelrc with this

{
  "presets": [
    "es2015",
    "react"
  ]
}

MobX

To use with MobX run

npm install --save-dev babel-preset-react babel-preset-stage-1 babel-plugin-transform-decorators-legacy

.babelrc:

{
  "presets": [
    "react",
    "es2015",
    "stage-1"
  ],
  "plugins": ["transform-decorators-legacy"]
}