Détail du package

undertaker-common-tasks

gulpjs330MIT2.0.0

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

common tasks, custom registry, registry, tasks

readme

undertaker-common-tasks

NPM version Downloads Build Status Coveralls Status

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

changelog

Changelog

2.0.0 (2022-06-28)

⚠ BREAKING CHANGES

  • Replace deprecated ecstatic with st
  • Normalize repository, dropping node <10.13 support (#8)

Miscellaneous Chores

  • Normalize repository, dropping node <10.13 support (#8) (cd51fff)
  • Replace deprecated ecstatic with st (cd51fff)