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
This commit is contained in:
parent
22c3818d04
commit
5009f8cff5
20
Gruntfile.js
20
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'
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user