Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

51 Commits

Repository files navigation

@recipher/gulp

Common gulp tasks.

Usage

In gulpfile.js:

vargulp=require('gulp');require('@recipher/gulp')(gulp);gulp.task('default',['test']);

Bump

Bump version number:

gulp bump:patch
gulp bump:minor
gulp bump:major

Tag

Tag the release:

gulp tag:patch
gulp tag:minor
gulp tag:major

Publish

Publish to npm:

gulp publish

Release

Bump the version, then tag and publish the release:

gulp release:patch
gulp release:minor
gulp release:major

Test

Tests are assumed to be in the test/unit and test/integration folders.

Run mocha tests:

gulp test
gulp test:unit
gulp test:integration

To watch tests:

gulp test:watch

To override options, in your gulpfile.js, provide an options hash as the second parameter in the setup function call.

require('@recipher/gulp')(gulp,{'test:unit': {setup: require('./test/unit/setup')},'test:integration': {setup: require('./test/integration/setup')}});

About

Common Gulp tasks

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages