2.0.2 • Published 7 years ago

yellfy-loader v2.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

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.

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.1.0

8 years ago

1.0.0

8 years ago

1.0.0-alpha.1

8 years ago