A template for frontend web development with GulpJS, which includes:
- Tasks for JS/JSHint, Less, Image compression, Web Components
- Concatenation & Minification of JS, CSS, and your Web Components
- Includes Polymer's core-elements & paper-elements
- Error handling that doesn't break
gulp watch
- Nice gulp-notify configuration, with different sounds for success & failure
npm install -g bower gulp
npm install
bower install
gulp
to build
gulp clean
to clean dist folderexport NODE_ENV=production && gulp
to build using production values set inconfig.json
gulp watch
to set up a filechange watchgulp webserver
to run the gulp-webserver to serve static files- Connect to http://localhost:8000
The app is hosted at development.oscillate.divshot.io. Divshot is a service to host completely static sites.
Deploy with the following:
- NODE_ENV=divshot gulp
- divshot push
- markgoodyear's gulp guide
- Rome wasn't built with Gulp
- http://travismaynard.com/writing/getting-started-with-gulp
- http://ilikekillnerds.com/2014/07/how-to-basic-tasks-in-gulp-js/
- http://blog.overzealous.com/post/74121048393/why-you-shouldnt-create-a-gulp-plugin-or-how-to-stop
- gulp-vulcanize
- vulcanize options (grunt & gulp plugins use same format)