diff options
Diffstat (limited to 'deps/npm/html/doc/files/package.json.html')
-rw-r--r-- | deps/npm/html/doc/files/package.json.html | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/deps/npm/html/doc/files/package.json.html b/deps/npm/html/doc/files/package.json.html index 66651bd4e5..b8d9c487e8 100644 --- a/deps/npm/html/doc/files/package.json.html +++ b/deps/npm/html/doc/files/package.json.html @@ -91,8 +91,8 @@ expression syntax version 2.0 string</a>, like this:</p> <pre><code>{ "license" : "(ISC OR GPL-3.0)" } </code></pre><p>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:</p> -<pre><code>{ "license" : "LicenseRef-LICENSE" } -</code></pre><p>Then include a LICENSE file at the top level of the package.</p> +<pre><code>{ "license" : "SEE LICENSE IN <filename>" } +</code></pre><p>Then include a file named <code><filename></code> at the top level of the package.</p> <p>Some old packages used license objects or a "licenses" property containing an array of license objects:</p> <pre><code>// Not valid metadata @@ -117,7 +117,11 @@ array of license objects:</p> <pre><code>{ "license": "ISC" } { "license": "(MIT OR Apache-2.0)" } -</code></pre><h2 id="people-fields-author-contributors">people fields: author, contributors</h2> +</code></pre><p>Finally, if you do not wish to grant others the right to use a private or +unpublished package under any terms:</p> +<pre><code>{ "license": "UNLICENSED"} +</code></pre><p>Consider also setting <code>"private": true</code> to prevent accidental publication.</p> +<h2 id="people-fields-author-contributors">people fields: author, contributors</h2> <p>The "author" is one person. "contributors" is an array of people. A "person" is an object with a "name" field and optionally "url" and "email", like this:</p> <pre><code>{ "name" : "Barney Rubble" @@ -538,5 +542,5 @@ ignored.</p> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr> </table> -<p id="footer">package.json — npm@2.11.3</p> +<p id="footer">package.json — npm@2.12.1</p> |