Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong license definition in package.json #38

Open
joeson1 opened this issue Oct 23, 2020 · 1 comment
Open

Wrong license definition in package.json #38

joeson1 opened this issue Oct 23, 2020 · 1 comment

Comments

@joeson1
Copy link

joeson1 commented Oct 23, 2020

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.

@joeson1
Copy link
Author

joeson1 commented Oct 23, 2020

#37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant