diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-11-14 10:17:18 -0500 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-11-14 10:18:12 -0500 |
commit | a9f59462941e33f5a7b3d2c14969236375bcc6d2 (patch) | |
tree | fbb1aa25651e26ff187da113f2554d4ce5cceabe /Gruntfile.js | |
parent | 36f00b17c26e50cf7900f4a1addb329dfe4c9b74 (diff) | |
download | jquery-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.js | 12 |
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" ] |