updated package.json to include grunt-cli

pull/23/head
kay.one 12 years ago
parent f7ee1e019f
commit 8327849e96

@ -16,6 +16,7 @@
"readmeFilename": "readme.md",
"dependencies": {
"grunt": "*",
"grunt-cli": "*",
"grunt-contrib-uglify": "*",
"grunt-contrib-handlebars": "*",
"grunt-contrib-watch": "*",

@ -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']);
};
Loading…
Cancel
Save