yellfy-loader

User-friendly Gulp task manager for Yellfy project.

Usage no npm install needed!

<script type="module">
  import yellfyLoader from 'https://cdn.skypack.dev/yellfy-loader';
</script>

README

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.