From 5c871a3c1ee1b58dfdc78757ee06c548fef89cab Mon Sep 17 00:00:00 2001 From: Jake Marsh Date: Tue, 15 Mar 2016 14:00:41 -0700 Subject: [PATCH 1/2] move webdriver update logic into gulp task --- gulp/tasks/protractor.js | 4 +++- package.json | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gulp/tasks/protractor.js b/gulp/tasks/protractor.js index 3113c88f..f8a25c08 100644 --- a/gulp/tasks/protractor.js +++ b/gulp/tasks/protractor.js @@ -5,12 +5,14 @@ import testServer from '../util/testServer'; import gulp from 'gulp'; import { protractor, + webdriver_update, // eslint-disable-line camelcase webdriver } from 'gulp-protractor'; +gulp.task('webdriverUpdate', webdriver_update); gulp.task('webdriver', webdriver); -gulp.task('protractor', ['prod', 'webdriver'], function(cb) { +gulp.task('protractor', ['prod', 'webdriverUpdate', 'webdriver'], function(cb) { const testFiles = gulp.src('test/e2e/**/*.js'); diff --git a/package.json b/package.json index 03ee734e..f31bc2e4 100644 --- a/package.json +++ b/package.json @@ -77,9 +77,7 @@ "watchify": "^3.7.0" }, "scripts": { - "test": "./node_modules/.bin/gulp test", - "webdriver-update": "./node_modules/gulp-protractor/node_modules/protractor/bin/webdriver-manager update", - "postinstall": "npm run webdriver-update" + "test": "./node_modules/.bin/gulp test" }, "license": "MIT" } From 3d9f700d0366347b18facdbf7b95b8b2a858f429 Mon Sep 17 00:00:00 2001 From: Jake Marsh Date: Tue, 15 Mar 2016 14:00:46 -0700 Subject: [PATCH 2/2] bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f31bc2e4..b131d9ba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angularjs-gulp-browserify-boilerplate", - "version": "1.5.6", + "version": "1.5.7", "author": "Jake Marsh ", "description": "Boilerplate using AngularJS, SASS, Gulp, and Browserify while also utilizing best practices.", "repository": {