Build: Use bower to manage client-side dependencies

Fixes #9507
Closes gh-1201
This commit is contained in:
Jörn Zaefferer 2014-02-21 17:25:59 +01:00
parent a40647f0e5
commit d789d7ab19
3 changed files with 29 additions and 1 deletions

View File

@ -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 File

@ -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 File

@ -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",