Permalink
Browse files

Build: Use bower to manage client-side dependencies

Fixes #9507
Closes gh-1201
  • Loading branch information...
1 parent a40647f commit d789d7ab1973f61484cc3c6307e8ff2978acd215 @jzaefferer jzaefferer committed Feb 21, 2014
Showing with 29 additions and 1 deletion.
  1. +22 −0 Gruntfile.js
  2. +6 −1 bower.json
  3. +1 −0 package.json
View
@@ -213,6 +213,28 @@ grunt.initConfig({
src: "build/**/*.js"
},
grunt: "Gruntfile.js"
+ },
+
+ bowercopy: {
+ options: {
+ clean: true
+ },
+ qunit: {
+ files: {
+ "external": "qunit/qunit"
+ }
+ },
+ mousewheel: {
+ files: {
+ "external": "jquery-mousewheel/*.js"
+ }
+ },
+ jshint: {
+ files: {
+ "external": "jshint/dist/jshint.js"
+ }
+ },
+ "jquery.js": "jquery/dist/jquery.js"
}
});
View
@@ -8,6 +8,11 @@
"tests"
],
"dependencies": {
- "jquery": ">=1.6"
+ "jquery": ">=1.6 <1.11"
+ },
+ "devDependencies": {
+ "jquery-mousewheel": "3.1.0",
+ "jshint": "2.3.0",
+ "qunit": "1.14.0"
}
}
View
@@ -58,6 +58,7 @@
"devDependencies": {
"commitplease": "1.6.0",
"grunt": "0.4.2",
+ "grunt-bowercopy": "0.8.0",
"grunt-compare-size": "0.4.0",
"grunt-contrib-concat": "0.1.3",
"grunt-contrib-csslint": "0.2.0",

0 comments on commit d789d7a

Please sign in to comment.