From b254f93ec1d4e9d93456b85a3512d581388456d1 Mon Sep 17 00:00:00 2001 From: Lukas Eipert Date: Mon, 23 May 2016 11:33:12 +0200 Subject: [PATCH] rewrote license field to be SPDX compatible According to [NPM docs](https://docs.npmjs.com/files/package.json#license) the `license` field in package.json should be SPDX compatible. [SPDX](https://spdx.org/licenses/) is a format which allows you to specify your licenses in an easy understandable, machine parseable way. These changes reflect your license choice according to #1 --- package.json | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/package.json b/package.json index fa3f493..b70f0d5 100644 --- a/package.json +++ b/package.json @@ -70,16 +70,7 @@ "type": "git", "url": "https://github.com/faisalman/ua-parser-js.git" }, - "licenses": [ - { - "type": "GPLv2", - "url": "http://www.gnu.org/licenses/gpl-2.0.html" - }, - { - "type": "MIT", - "url": "http://www.opensource.org/licenses/mit-license.php" - } - ], + "license": "(GPL-2.0 OR MIT)", "engines": { "node": "*" },