1.0.1 • Published 8 years ago

zkflow-task-sequence v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

ZKflow task sequence

Sequence gulp task in ZKflow format. It can be used to run sequence of tasks using run-sequence.

Shields

npm npm npm Travis Code Climate David David GitHub forks GitHub stars GitHub followers

Installation

npm install --save zkflow-task-sequence zkflow gulp

Example

ZKflow task sequence is used in ZKflow for Angular

Quickstart

Just put this code in gulpfile.js

require('zkflow')({
  'sequence': {
    task: require('zkflow-task-sequence'),
    sequence: ['some-task']
  }
}, require('gulp'), {})

Usage

Make sure you understand how ZKflow works

Default options

require('zkflow')({
  'sequence': {
    task: require('zkflow-task-sequence'),
    sequence: [],
    mode: undefined
  }
}, require('gulp'), {})

sequnce

Array, it will be passed as arguments to run-sequence with gulp task callback appended at the end.

mode

Object or undefined, this object will extend mode object, usefull if you want to change mode of operation of task before running the sequence.

Sponsors