From 8327849e96ba34a2cb0284c874b0d0c2f02a93c3 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Fri, 29 Mar 2013 10:55:02 -0700 Subject: [PATCH] updated package.json to include grunt-cli --- package.json | 1 + update.js | 31 ++++++++++++++----------------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index f96fe3748..d72995ada 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "readmeFilename": "readme.md", "dependencies": { "grunt": "*", + "grunt-cli": "*", "grunt-contrib-uglify": "*", "grunt-contrib-handlebars": "*", "grunt-contrib-watch": "*", diff --git a/update.js b/update.js index f6ccb5ec6..e4c007799 100644 --- a/update.js +++ b/update.js @@ -1,22 +1,19 @@ module.exports = function(grunt) { - // Project configuration. - grunt.initConfig({ - pkg: grunt.file.readJSON('package.json'), - curl: { - 'NzbDrone.Backbone/JsLibraries/jquery.js': 'http://code.jquery.com/jquery.js', - 'NzbDrone.Backbone/JsLibraries/backbone.collectionbinder.js': 'https://raw.github.com/theironcook/Backbone.ModelBinder/master/Backbone.CollectionBinder.js', - 'NzbDrone.Backbone/JsLibraries/backbone.modelbinder.js': 'https://raw.github.com/theironcook/Backbone.ModelBinder/master/Backbone.ModelBinder.js', - 'NzbDrone.Backbone/JsLibraries/backbone.js': 'https://raw.github.com/documentcloud/backbone/master/backbone.js', - 'NzbDrone.Backbone/JsLibraries/backbone.marionette.js': 'https://raw.github.com/marionettejs/backbone.marionette/master/lib/backbone.marionette.js', - 'NzbDrone.Backbone/JsLibraries/backbone.mutators.js': 'https://raw.github.com/asciidisco/Backbone.Mutators/master/backbone.mutators.js', - } + grunt.initConfig({ + pkg: grunt.file.readJSON('package.json'), + curl: { + 'NzbDrone.Backbone/JsLibraries/jquery.js': 'http://code.jquery.com/jquery.js', + 'NzbDrone.Backbone/JsLibraries/backbone.collectionbinder.js': 'http://raw.github.com/theironcook/Backbone.ModelBinder/master/Backbone.CollectionBinder.js', + 'NzbDrone.Backbone/JsLibraries/backbone.modelbinder.js': 'http://raw.github.com/theironcook/Backbone.ModelBinder/master/Backbone.ModelBinder.js', + 'NzbDrone.Backbone/JsLibraries/backbone.js': 'http://raw.github.com/documentcloud/backbone/master/backbone.js', + 'NzbDrone.Backbone/JsLibraries/backbone.marionette.js': 'http://raw.github.com/marionettejs/backbone.marionette/master/lib/backbone.marionette.js', + 'NzbDrone.Backbone/JsLibraries/backbone.mutators.js': 'http://raw.github.com/asciidisco/Backbone.Mutators/master/backbone.mutators.js', + } - }); - - grunt.loadNpmTasks('grunt-curl'); - - // Default task(s). - grunt.registerTask('default', ['curl']); + }); + grunt.loadNpmTasks('grunt-curl'); + + grunt.registerTask('default', ['curl']); }; \ No newline at end of file