Skip to content

Commit

Permalink
Fix licenses in package.json
Browse files Browse the repository at this point in the history
This commit replaces 'licenses' with
'license' because the former is no
longer valid metadata.

The 'license' is declared using an SPDX
expression and includes the identifiers
for the MIT license and the GPL 3.0 or
later license.

GPL 3.0 or later was selected because
GPL is not a valid identifier and link
in the previous version of code brings
us to the most recent version of the
GPL license.

Sources:
 * https://docs.npmjs.com/files/package.json
 * https://spdx.org/licenses/
  • Loading branch information
Lucas Pedroza committed Mar 24, 2020
1 parent 44a8cb4 commit f246ddf
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,7 @@
"type": "git",
"url": "http://github.com/nbubna/Case.git"
},
"licenses": [
{
"type": "MIT",
"url": "http://www.opensource.org/licenses/mit-license.php"
},
{
"type": "GPL",
"url": "http://www.gnu.org/licenses/gpl.html"
}
],
"license": "(MIT OR GPL-3.0-or-later)",
"scripts": {
"test": "grunt qunit"
},
Expand Down

0 comments on commit f246ddf

Please sign in to comment.