Socket
Book a DemoInstallSign in
Socket

undertaker-common-tasks

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

undertaker-common-tasks

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

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
2
Created
Source

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

Keywords

common tasks

FAQs

Package last updated on 28 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts