Construct gulp playground step by step
- opinionated browserify to as CommonJS loader
- CSS optimize
- browser-sync to livereload
- map folder structure from src to bld/dist
- source map
- Babel to support ES6 and JSX
- deb and prod mode
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
- Gulp
- gulp-sass
- gulp-autoprefixer
- browserify
- watchify
- vinyl-transform
- jshint
- lazypipe
- browser-sync