From c8484fb165b20237fc630fb911f935dc83dd527a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Wed, 26 Feb 2014 20:25:16 +0200 Subject: [PATCH] Improve package.json. Use `license` property and remove `ratchet` keyword. --- Gruntfile.js | 4 ++-- package.json | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 9b6849d..c8aff53 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -25,9 +25,9 @@ module.exports = function(grunt) { ' * =====================================================\n' + ' * Ratchet v<%= pkg.version %>\n' + ' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + - ' * Licensed under <%= _.pluck(pkg.licenses, "url").join(", ") %>\n' + + ' * Licensed under <%= pkg.license %>.\n' + ' *\n' + - ' * V<%= pkg.version %> designed by @connors.\n' + + ' * v<%= pkg.version %> designed by @connors.\n' + ' * =====================================================\n' + ' */\n', diff --git a/package.json b/package.json index b0fc230..84977b5 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,6 @@ "description": "Build native apps with simple HTML, CSS, and JS components.", "version": "2.0.0", "keywords": [ - "ratchet", "css", "ios", "native", @@ -20,12 +19,7 @@ "bugs": { "url": "https://github.com/twbs/ratchet/issues" }, - "licenses": [ - { - "type": "MIT", - "url": "http://www.opensource.org/licenses/MIT" - } - ], + "license": "MIT", "devDependencies": { "grunt": "~0.4.2", "grunt-banner": "~0.2.0",