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

Update package.json's license section #250

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update package.json's license section #250

wants to merge 1 commit into from

Conversation

VPenkov
Copy link

@VPenkov VPenkov commented Nov 27, 2018

According to NPM's "License" section, multiple licenses should be formatted differently. This will help license validators to parse them correctly.

According to [NPM's "License" section](https://docs.npmjs.com/files/package.json#license), multiple licenses should be formatted differently. This will help license validators to parse them correctly.
@luxzeitlos
Copy link

please merge this! This is mandatory when using pkg.

Copy link

@ihbar ihbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that license rule has been update don npmjs, and the proposed solution is now deprecated.
The prefered solution is a SPDX expression :
"If your package is licensed under multiple common licenses, use an SPDX license expression syntax version 2.0 string, like this:{ "license" : "(ISC OR GPL-3.0)" }"

So it should be "license" : "(LGPL-2.0 OR MIT)"

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

Successfully merging this pull request may close these issues.

4 participants