Skip to content

Commit f8b1493

Browse files
committed
Swapped out bower installation task (closes selectize#453).
1 parent 8fc7a02 commit f8b1493

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Gruntfile.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var fs = require('fs');
22

33
module.exports = function(grunt) {
4-
grunt.loadNpmTasks('grunt-bower-cli');
4+
grunt.loadNpmTasks('grunt-bower-task');
55
grunt.loadNpmTasks('grunt-contrib-uglify');
66
grunt.loadNpmTasks('grunt-contrib-concat');
77
grunt.loadNpmTasks('grunt-contrib-clean');
@@ -109,7 +109,9 @@ module.exports = function(grunt) {
109109
bower: {
110110
install: {
111111
options: {
112-
directory: 'bower_components',
112+
copy: false,
113+
clean: false,
114+
layout: 'byComponent',
113115
action: 'install'
114116
}
115117
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dependencies": {},
2121
"devDependencies": {
2222
"grunt": "0.4.x",
23-
"grunt-bower-cli": "0.0.x",
23+
"grunt-bower-task": "^0.4.0",
2424
"grunt-cli": "^0.1.13",
2525
"grunt-contrib-clean": "0.5.x",
2626
"grunt-contrib-concat": "0.3.x",

0 commit comments

Comments
 (0)