Skip to content

Commit e0d1f8b

Browse files
Changed bower build params
1 parent fb89f2b commit e0d1f8b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Gruntfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ module.exports = function(grunt) {
234234
// Регистрируем таски
235235
grunt.registerTask('default', 'watch');
236236
grunt.registerTask('tests', 'qunit');
237+
grunt.registerTask('bower', ['requirejs', 'uglify', 'usebanner']);
237238
grunt.registerTask('travis', ['jshint', 'requirejs', 'uglify', 'usebanner', 'qunit']);
238239
grunt.registerTask('build', ['stylus:dev', 'stylus:prod', 'bumpup:build', 'updatepkg', 'requirejs', 'uglify', 'usebanner']);
239240
grunt.registerTask('compile', ['jshint', 'stylus:dev', 'stylus:prod', 'bumpup:build', 'updatepkg', 'requirejs', 'uglify', 'usebanner', 'qunit']);

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"main": "build/requirejs-sandbox.min.js",
44
"main-debug": "build/requirejs-sandbox.js",
55
"scripts": {
6-
"install": ["npm install", "grunt compile"]
6+
"install": ["npm install", "grunt bower"]
77
},
88
"dependencies": {
99
"jquery": "~2.0.0",

0 commit comments

Comments
 (0)