yellfy-loader
v2.0.2
Published
User-friendly Gulp task manager for Yellfy project.
Downloads
9
Readme
yellfy-loader
User-friendly Gulp task manager for Yellfy project.
Install
$ npm i -D yellfy-loader
Usage
gulpfile.js
const loader = require('yellfy-loader');
loader.setup('./gulp/tasks', {
// options
});
gulp/tasks/task.js
'use strict';
function task(done) {
done();
}
module.exports = {
task,
description: 'test'
}
Supported options
gulp
- Type:
Object
- Default:
module.parent.require('gulp')
The gulp instance to use.
reporter
- Type:
Function
- Default:
The following tasks have errors: %s
- Example:
reporter: (valid, invalid) => ...
Custom reporter.
rename
- Type:
Object
- Default:
undefined
- Example:
{ 'task-name': 'pikachu' }
Renaming tasks.
Changelog
See the Releases section of our GitHub project for changelogs for each release version.
License
This software is released under the terms of the MIT license.