Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

undertaker-common-tasks

1.0.1 • Public • Published

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

install

npm i undertaker-common-tasks

Downloadsweekly downloads

10

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar