aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2013-11-14 10:17:18 -0500
committerTimmy Willison <timmywillisn@gmail.com>2013-11-14 10:17:18 -0500
commitac7ff97f8b9cc2cf29e1ed14d931dbb5b690e3af (patch)
tree37cdc1694a198b2c4587863c29a455272d13327d /Gruntfile.js
parent1a13e0b1adcc7e5f4affa2e64f0533cb76a802b5 (diff)
downloadjquery-ac7ff97f8b9cc2cf29e1ed14d931dbb5b690e3af.tar.gz
jquery-ac7ff97f8b9cc2cf29e1ed14d931dbb5b690e3af.zip
Use grunt and bower packages as local dependencies. Close gh-1433.
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index ccbf5301a..c1973105a 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -10,6 +10,7 @@ module.exports = function( grunt ) {
}
var gzip = require( "gzip-js" ),
+ path = require( "path" ),
srcHintOptions = readOptionalJSON( "src/.jshintrc" );
// The concatenated file won't pass onevar
@@ -46,6 +47,17 @@ module.exports = function( grunt ) {
}
}
},
+ bower: {
+ install: {
+ options: {
+ targetDir: "bower_modules",
+ cleanup: true,
+ layout: function( type ) {
+ return path.join( type );
+ }
+ }
+ }
+ },
jsonlint: {
pkg: {
src: [ "package.json" ]