Releases: smaato/gulp-tasks
Releases · smaato/gulp-tasks
v0.3.0
Breaking change: deploy task no longer accepts env variable names
Now it just accepts the actual values for bucketName, accessKeyId, and secretAccessKey.
gulp.task('deploy', gulpTasks.deploy({
src: `dist/**/*.*`,
// Deploys to http://gulp-tasks-test.smaatolabs.net/
bucketName: 'smt-gulp-tasks-test',
accessKeyId: process.env.GULP_TASKS_AWS_ACCESS_KEY_ID,
secretAccessKey: process.env.GULP_TASKS_AWS_SECRET_ACCESS_KEY,
}).task);
compileJs HMR port bug fixed
There was a bug in v0.2.2 which is now fixed. Specifying different hmrPort
values will allow multiple compileJs tasks to run simultaneously.
v0.2.3
v0.2.2
v0.2.1
v0.2.0
Breaking changes: interface overhaul.
Here's a brief example of how you can use this module to create and register gulp tasks:
var gulpTasks = require('gulp-tasks');
// Each module method returns an object with `config` and `task` properties.
// - The config property is used for testing.
// - The task property is a function which you can register as a gulp task.
gulp.task('demoLintJs', gulpTasks.lintJs({
src: './src/**/*.js',
}).task);
All task-generation methods:
- copy: Copy assets from one location to another.
- compileCss: Compile SCSS with Compass, and run the compiled CSS through PostCSS with
Autoprefixer. - compileHtml: Compile Jade templates into HTML.
- compileJs: Compile JS with Browserify, Browserify-HMR, and Babelify. Optionally watch for
changes and re-compile. - deploy: Deploy to an AWS S3 bucket.
- lintJs: Lint JS with ESLint.
- minifyCss: Minify CSS with clean-css.
- minifyJs: Minify JS with uglify.
- serve: Serve files on localhost.
- testE2e: Run end-to-end tests with Nightwatch in PhantomJS.
- testUnit: Run unit tests with Karma.
Bug fixes
Fixed bug that prevented the selenium-standalone dependency from being installed.
v0.1.0
Initial set of common Gulp tasks that can be used by projects built with Gulp.