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
This commit is contained in:
Lukas Eipert 2016-05-23 11:33:12 +02:00
parent 3a457f9bd9
commit b254f93ec1

View File

@ -70,16 +70,7 @@
"type": "git", "type": "git",
"url": "https://github.com/faisalman/ua-parser-js.git" "url": "https://github.com/faisalman/ua-parser-js.git"
}, },
"licenses": [ "license": "(GPL-2.0 OR MIT)",
{
"type": "GPLv2",
"url": "http://www.gnu.org/licenses/gpl-2.0.html"
},
{
"type": "MIT",
"url": "http://www.opensource.org/licenses/mit-license.php"
}
],
"engines": { "engines": {
"node": "*" "node": "*"
}, },