@recipher/gulp
Common gulp tasks
Last updated 3 years ago by recipher .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @recipher/gulp 
SYNC missed versions from official npm registry.

@recipher/gulp

Common gulp tasks.

Usage

In gulpfile.js:

var gulp = 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')
  }
});

Current Tags

  • 1.6.6                                ...           latest (3 years ago)

3 Versions

  • 1.6.6                                ...           3 years ago
  • 1.6.5                                ...           3 years ago
  • 1.6.4                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 5
Dependencies (21)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |