Navigation Menu

Skip to content

gulp-cookery/gulp-ccr-config-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-ccr-config-helper

Configuration helper functions. A cascading configurable gulp recipe for gulp-chef.

Install

$ npm install --save gulp-ccr-config-helper

API

verify(schema, config)

Vaildate the config value using given JSON schema.

Example

var verify = require('gulp-ccr-config-helper');

var schema = {
    title: 'my-plugin',
    description: 'my-plugin description',
    type: 'object'
    properties: {
        options: {
            type: 'object'
        }
    },
    required: ['options']
};

module.exports = function (done) {
    verify(schema, this.config);
    done();
};
module.exports.schema = schema;
module.exports.type = 'task';

License

MIT

Author

Amobiz

About

Configuration helper functions for cascading configurable Gulp recipes for gulp-chef.

Resources

License

Stars

Watchers

Forks

Packages

No packages published