joypixels / joypixels/emoji-toolkit

Wrong license definition in package.json

Open
#38 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
473
Forks
47
PR merge metrics
No merged PRs in 30d

Description

NPM defines the license to be given differently than it is currently done: https://docs.npmjs.com/files/package.json#license

Current situation:

`"licenses": {
"type": "(MIT)",
"url": "https://github.com/joypixels/emoji-toolkit/blob/master/LICENSE.md"
},`

Should be like:

`"license" : "MIT"`

The files property can be used to distribute the LICENSE.md file if necessary: https://docs.npmjs.com/files/package.json#files

Why it came up: we have tools to generate the 3rd party component disclosure documents that are crawling all node modules. It's failing with this package because it cannot parse.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.