/gulp-scaffold

Primary LanguageJavaScript

gulp scaffold

Construct gulp playground step by step

features

  • opinionated browserify to as CommonJS loader
  • CSS optimize
  • browser-sync to livereload
  • map folder structure from src to bld/dist

TODO

  • source map
  • Babel to support ES6 and JSX
  • deb and prod mode

Usage

Clone this repository:

git clone git@https://github.com/lix42/gulp-scaffol

Install the dependencies:

npm install

Development mode with livereload:

gulp watch

When you are done, create a production ready version of the JS bundle:

gulp build

Tools used:

  • Gulp
  • gulp-sass
  • gulp-autoprefixer
  • browserify
  • watchify
  • vinyl-transform
  • jshint
  • lazypipe
  • browser-sync