yellfy-loader
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

yellfy-loader

User-friendly Gulp task manager for Yellfy project.

Travis Status

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.

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i yellfy-loader

    Weekly Downloads

    0

    Version

    2.0.2

    License

    MIT

    Last publish

    Collaborators

    • mrmlnc