pixelkritzel / gulp_es6_sass_boilerplate

Boilerplate using Gulp, ES6 and SASS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"]
}

About

Boilerplate using Gulp, ES6 and SASS


Languages

Language:JavaScript 93.8%Language:HTML 5.9%Language:CSS 0.3%