nw-gulp-tasks

1.3.0 • Public • Published

Gulp tasks

Dependency Status

NPM

Neoway's reusable gulp tasks.

Installation

npm install nw-gulp-tasks

Usage

You need import this module and call constructor method with tasks you want enable. Each task have specific options, but have some globals options.

Example of standart call:

var gulp = require('nw-gulp-tasks')({

    // Global vars
    name: 'your-project-slug-name',

    anyGlobalVars: {
        var1: 'ok'
    },
    
    // Tasks
    less: {
        // options here
    },

    scripts: {
        //options here
    }
 
});

Subtasks

Some tasks files can have many subtasks. Maybe you need enable or disable only some subtasks.

Enable/Disable subtasks:

 scripts: {
    jshint: false
 }
  • This disable "scripts:jshint" subtask only

Package Sidebar

Install

npm i nw-gulp-tasks

Weekly Downloads

0

Version

1.3.0

License

Apache-2.0

Last publish

Collaborators

  • brunobertolini