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:18:12 -0500
commita9f59462941e33f5a7b3d2c14969236375bcc6d2 (patch)
treefbb1aa25651e26ff187da113f2554d4ce5cceabe /Gruntfile.js
parent36f00b17c26e50cf7900f4a1addb329dfe4c9b74 (diff)
downloadjquery-a9f59462941e33f5a7b3d2c14969236375bcc6d2.tar.gz
jquery-a9f59462941e33f5a7b3d2c14969236375bcc6d2.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 a4b94187a..84aa02c89 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
@@ -44,6 +45,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" ]