aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2014-02-21 17:25:59 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2014-03-05 16:04:43 +0100
commitd789d7ab1973f61484cc3c6307e8ff2978acd215 (patch)
tree1aa1515b6d2b49d5516bbf0febabf39e8d893c91
parenta40647f0e56096f8437056d238b4299fd19f2859 (diff)
downloadjquery-ui-d789d7ab1973f61484cc3c6307e8ff2978acd215.tar.gz
jquery-ui-d789d7ab1973f61484cc3c6307e8ff2978acd215.zip
Build: Use bower to manage client-side dependencies
Fixes #9507 Closes gh-1201
-rw-r--r--Gruntfile.js22
-rw-r--r--bower.json7
-rw-r--r--package.json1
3 files changed, 29 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 4d581faaa..08e89f90b 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -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"
}
});
diff --git a/bower.json b/bower.json
index 34210341a..4b30e5a87 100644
--- a/bower.json
+++ b/bower.json
@@ -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"
}
}
diff --git a/package.json b/package.json
index 7ee1dc070..d97f77a55 100644
--- a/package.json
+++ b/package.json
@@ -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",