A hand-rolled pipeline for front end projects using gulp, jspm, and coffeescript.
git clone git@github.com:perspectivezoom/gulp-jspm-react-coffee-starter.git
cd gulp-jspm-starter
npm install
jspm install
gulp serve
Builds from src
into dev
and starts BrowserSync.
Note: This project uses gulp 4. If you don't have gulp 4 globally installed, or have not aliased the gulp command to the local repo, you will need to use ./node_modules/.bin/gulp serve
instead.
gulp clean
gulp dev
gulp prod
Builds from dev
into prod
, minifying css, js, and images.
Large portions of this repo were more or less copied from:
- Glen Maddern's post and screencast, for explaining JSPM and how it might be better than Browserify as it need not pre-compile.
- Gulp Starter, for showing how to split tasks across files, and for most of the tasks.
- This post to get Gulp 4 working and take advantage of
gulp.series
andgulp.parallel
- This post to get coffeescript Gulp tasks working
- HTML5 Boilerplate
- normalize.css
MIT. Go nuts.