From: Jörn Zaefferer Date: Fri, 21 Feb 2014 16:25:59 +0000 (+0100) Subject: Build: Use bower to manage client-side dependencies X-Git-Tag: 1.11.0-beta.1~55 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d789d7ab1973f61484cc3c6307e8ff2978acd215;p=jquery-ui.git Build: Use bower to manage client-side dependencies Fixes #9507 Closes gh-1201 --- 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",