sc-gulp-tasks
v2.2.1
Published
Contains a set of gulp tasks ready to use for shiftcode projects. The tasks are split into different modules, so we can use whatever we need in our gulpfile.js.
Downloads
9
Readme
README
Holds a set of commonly used gulp tasks which can be plumbed together using a gulpfile.js file.
Install
npm install sc-gulp-tasks --save-dev
How to use it in your gulpfile.js
// require all the node modules you use inside this file
var tasks = require('sc-gulp-tasks');
gulp.task('build', function(){
tasks.plumber.builtApp();
})
API Docs
Provide own configuration
The process of overriding existing config is not perfect yet, to provide custom config just run the gulpfile.js with additional options
gulp --config=./config.json
If the configuration file is on the same level as the gulpfile.js, the provided config will be loaded using require
.
You only need to provide the values which you want to overwrite, the problem is that if you update the folders.src
property all properties dependent
to folders.src
wont update automatically,because the default config was already interpreted on first load, so best if you update a folders property is to provide all the globs to.