From 5009f8cff548ff8991b3e2f0232f0222fc89e48d Mon Sep 17 00:00:00 2001 From: Michael Krotscheck Date: Tue, 12 Apr 2016 05:25:33 -0700 Subject: [PATCH] Removed grunt-bower bower install is invoked during the npm postinstall phase, meaning that it will always be initialized whenever a workspace is built. Invoking it in the gruntfile is redundant. Change-Id: Ib683efa157d7166d46e2d4ef8b09a1d91347e91f --- Gruntfile.js | 20 -------------------- package.json | 1 - 2 files changed, 21 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index f85b8408..e2b27f25 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -66,20 +66,6 @@ module.exports = function (grunt) { grunt.initConfig({ - /** - * grunt bower - * - * Runs the bower install command, resolving remote runtime - * dependencies. - */ - bower: { - install: { - options: { - copy: false - } - } - }, - /** * grunt clean * @@ -599,7 +585,6 @@ module.exports = function (grunt) { * Compile and packages our code. */ grunt.registerTask('build', [ - 'bower:install', 'compile', 'package' ]); @@ -609,7 +594,6 @@ module.exports = function (grunt) { * Compile and packages our code. */ grunt.registerTask('build:draft', [ - 'bower:install', 'compile', 'package', 'copy:draft' @@ -622,7 +606,6 @@ module.exports = function (grunt) { */ grunt.registerTask('serve:dist', [ 'clean', - 'bower:install', 'compile', 'package', 'open', @@ -637,7 +620,6 @@ module.exports = function (grunt) { */ grunt.registerTask('serve', [ 'clean', - 'bower:install', 'compile', 'configureProxies:livereload', 'connect:livereload', @@ -653,7 +635,6 @@ module.exports = function (grunt) { */ grunt.registerTask('test:integration', [ 'clean', - 'bower:install', 'compile', 'configureProxies:test', 'connect:test', @@ -669,7 +650,6 @@ module.exports = function (grunt) { */ grunt.registerTask('test:functional', [ 'clean', - 'bower:install', 'compile', 'connect:test', 'protractor' diff --git a/package.json b/package.json index 371c8044..5cd3551e 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ "eslint": "0.15.1", "gifsicle": "1.0.0", "grunt": "0.4.5", - "grunt-bower-task": "^0.4.0", "grunt-cli": "0.1.13", "grunt-connect-proxy": "0.2.0", "grunt-contrib-clean": "0.6.0",