Gulp set up for web assets. Conveniently create tasks for Browserify, CoffeeScript, Compass (SCSS), SVG.
For a full example, see the: gulpfile-example.js file.
var guilty = require('guilty-gulp')({
taskNameGroup: 'main'
});
Create multiple variations of any task.
Specify a taskName
, which you can then use using guilty.taskName('myTaskName')
.
Watch tasks are automatically created based on the paths you specified.
guilty.requireTask('copy', {
taskName: 'vendor-js',
srcPathGlob: 'vendor-js/porthole.min.js',
destPath: './'
});
Each task is modular so they can be reused easily.
It has separate production and development folders, just use the flag --production
to build to a separate folder with minified CSS and JS.
Clean by using the flag --clean