1.6.6 • Published 9 years ago
@recipher/gulp v1.6.6
@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:majorTag
Tag the release:
gulp tag:patch
gulp tag:minor
gulp tag:majorPublish
Publish to npm:
gulp publishRelease
Bump the version, then tag and publish the release:
gulp release:patch
gulp release:minor
gulp release:majorTest
Tests are assumed to be in the test/unit and test/integration folders.
Run mocha tests:
gulp test
gulp test:unit
gulp test:integrationTo watch tests:
gulp test:watchTo 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')
}
});