Personal Gulp boilerplate for basic frontend web projects.
- jQuery
- Modernizr
- Picturefill
- Metaquery
- Velocity
- Sass Suport
- Pug Support
- Image Optimization
- SVG-Sprite Generation
- WebP Generation
- Bourbon Integration
- Browser-Sync Integration
- Auto-Prefixer Integration
- Source-Map Integration
- Resource Minification
- Notification Support
- Evergreen Browsers
- IE 10+
Run the default task by executing gulp. Run specific tasks by executing gulp <task>.
-
default
Runs thereset,setup,buildandservetasks. -
build
Runs thecommon,templates,styles,scripts,imagesandiconstasks. -
serve
Startsbrowser-syncwhich is serving files from the public directory. -
setup
Runsbower installto install dependencies defined in thebower.jsonfile. -
reset
Cleans up the public directory by deleting all generated files. -
common
Copies general files from the source directory root to the public directory. -
template
Compilespugtemplates and writes them to the public directory. -
style
Compilesscssfiles and writes them to the public directory. -
script
Processesjavascriptfiles and writes them to the public directory. -
image
Reads images from the images directory and copies them to the public directory. -
icon
Reads SVG files from the icons directory and generates a sprite including ascssfile. -
package
Creates a ZIP file from files in the public directory.
-
watch
Use the-wor--watchflag on any task to enable file-watching and automatic re-run on changes. -
optimize
Use the-oor--optimizeflag on any task to enable optimizations for production output e.g. minification etc. -
force
Use the-for--forceflag on any task to force it running without using caches. -
production
Use the-por--productionflag on any task to skip tasks which are irrelevant on production environments.