Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
docs: "UNLICENSED" and "SEE LICENSE IN <filename>"
Browse files Browse the repository at this point in the history
Fixes: #8557

PR-URL: #8609
  • Loading branch information
kemitchell authored and othiym23 committed Jun 19, 2015
1 parent 4827fc7 commit 16a3dd5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions doc/files/package.json.md
Expand Up @@ -115,9 +115,9 @@ expression syntax version 2.0 string](http://npmjs.com/package/spdx), like this:
If you are using a license that hasn't been assigned an SPDX identifier, or if
you are using a custom license, use the following valid SPDX expression:

{ "license" : "LicenseRef-LICENSE" }
{ "license" : "SEE LICENSE IN <filename>" }

Then include a LICENSE file at the top level of the package.
Then include a file named `<filename>` at the top level of the package.

Some old packages used license objects or a "licenses" property containing an
array of license objects:
Expand Down Expand Up @@ -147,6 +147,13 @@ Those styles are now deprecated. Instead, use SPDX expressions, like this:

{ "license": "(MIT OR Apache-2.0)" }

Finally, if you do not wish to grant others the right to use a private or
unpublished package under any terms:

{ "license": "UNLICENSED"}

Consider also setting `"private": true` to prevent accidental publication.

## people fields: author, contributors

The "author" is one person. "contributors" is an array of people. A "person"
Expand Down

0 comments on commit 16a3dd5

Please sign in to comment.