undertaker-common-tasks
Proof-of-concept custom registry that pre-defines tasks
Last updated 3 years ago by phated .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install undertaker-common-tasks 
SYNC missed versions from official npm registry.

undertaker-common-tasks

NPM version Downloads Build Status Gitter chat

Proof-of-concept custom registry that pre-defines tasks.

Example

var gulp = require('gulp');
var CommonTasks = require('undertaker-common-tasks');

gulp.registry(new CommonTasks({ port: 1337, buildDir: './dist' }));

// 'clean' & 'series' were defined by the registry
gulp.task('default', gulp.series('clean', 'serve'));

API

CommonTasksRegistry([options])

Constructor for the registry. Pass an instance of this registry to gulp.registry.

options

  • port - the port to start a static webserver on.
  • buildDir - the output directory (clean deletes this directory).

License

MIT

Current Tags

  • 1.0.1                                ...           latest (3 years ago)

2 Versions

  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (4)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |