From ac7ff97f8b9cc2cf29e1ed14d931dbb5b690e3af Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Thu, 14 Nov 2013 10:17:18 -0500 Subject: Use grunt and bower packages as local dependencies. Close gh-1433. --- Gruntfile.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Gruntfile.js') 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" ] -- cgit v1.2.3