From e3e5e0b22ea12531299c9d9ea71d7d0167c86fb4 Mon Sep 17 00:00:00 2001 From: Ryuichi Okumura Date: Fri, 5 Jun 2015 22:39:54 +0900 Subject: [PATCH 1/2] Use SPDX license Identifier in package.json npm changed to use SPDX to validates the license of npm modules. * https://github.com/npm/npm/pull/8197 * http://spdx.org/licenses/ --- package.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/package.json b/package.json index 116adff2..3fa27746 100644 --- a/package.json +++ b/package.json @@ -89,12 +89,7 @@ "test": "istanbul cover --print=both --yui ytestrunner -- --include ./tests/options.js --include ./tests/builder.js --include ./tests/parser.js --include ./tests/parser_coffee.js --include ./tests/files.js --include ./tests/utils.js --include ./tests/preprocessor.js" }, "preferGlobal": "true", - "licenses": [ - { - "type": "BSD", - "url": "https://github.com/yui/yuidoc/blob/master/LICENSE" - } - ], + "licenses": "BSD-3-Clause", "repository": { "type": "git", "url": "http://github.com/yui/yuidoc.git" From a6f4cc5fa8ce36f4ad3e79f1ed0fe22187d2b6ce Mon Sep 17 00:00:00 2001 From: Ryuichi Okumura Date: Sat, 6 Jun 2015 22:05:21 +0900 Subject: [PATCH 2/2] Fix license field name in package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3fa27746..0ac08b9e 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "test": "istanbul cover --print=both --yui ytestrunner -- --include ./tests/options.js --include ./tests/builder.js --include ./tests/parser.js --include ./tests/parser_coffee.js --include ./tests/files.js --include ./tests/utils.js --include ./tests/preprocessor.js" }, "preferGlobal": "true", - "licenses": "BSD-3-Clause", + "license": "BSD-3-Clause", "repository": { "type": "git", "url": "http://github.com/yui/yuidoc.git"