From ba15cc64dedb914a01c9f55feb26a18ab923618d Mon Sep 17 00:00:00 2001 From: VPenkov Date: Tue, 27 Nov 2018 17:03:28 +0100 Subject: [PATCH] Update package.json's license section According to [NPM's "License" section](https://docs.npmjs.com/files/package.json#license), multiple licenses should be formatted differently. This will help license validators to parse them correctly. --- package.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a656192..86bb778 100644 --- a/package.json +++ b/package.json @@ -18,5 +18,13 @@ {"name" : "Alan Gutierrez","email" : "alan@prettyrobots.com","web" : "http://www.prettyrobots.com/"} ], "bugs": {"email": "jindw@xidea.org","url": "http://github.com/jindw/xmldom/issues"}, - "license": "(LGPL-2.0 or MIT)" + "licenses": [ + { + "type": "LGPL-2.0", + "url": "https://www.gnu.org/licenses/old-licenses/lgpl-2.0.en.html" + }, { + "type": "MIT", + "url": "https://opensource.org/licenses/MIT" + } + ] }