node package manager

@doctolib/gulp-tasks

Set of gulp tasks.

gulp-tasks

Set of gulp-tasks.

Install

npm install @doctolib/gulp-tasks

Usage

require('@doctolib/gulp-task')(require('gulp'));

Custom config

const gulpTasks = require('@doctolib/gulp-task');
const gulp = require('gulp');
 
gulpTasks(gulp, gulpTasks.generateConfig('./path/to/my/module'));

Examples

gulp clean:examples

Clean examples dist.

gulp build:examples

Build examples.

gulp watch:examples

Watch examples.

gulp dev:examples

Run dev mode for examples.

Lib

gulp clean:lib

Clean lib.

gulp watch:lib

Watch lib.

gulp build:lib

Build lib.

Tests and coverage

gulp test [--watch] [--logLevel]

Run tests.

gulp open:cover

Open coverage in browser.

gulp coveralls

Run coverage and reports on coveralls.

Release and publish

gulp bump:[type]

Bump version of package.json.

gulp publish:git

Publish the version of the package on git.

gulp publish:npm

Publish the version of the package on npm.

gulp publish:examples

Publish the examples to GitHub pages.

gulp publish

Publish git, npm and examples.

gulp release:[type]

Build lib, bump and release package.