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..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": { @@ -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" }