aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/html/partial/doc/files/npm-json.html
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/html/partial/doc/files/npm-json.html')
-rw-r--r--deps/npm/html/partial/doc/files/npm-json.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/deps/npm/html/partial/doc/files/npm-json.html b/deps/npm/html/partial/doc/files/npm-json.html
index 752a10cbe5..7de449e656 100644
--- a/deps/npm/html/partial/doc/files/npm-json.html
+++ b/deps/npm/html/partial/doc/files/npm-json.html
@@ -80,8 +80,8 @@ expression syntax version 2.0 string</a>, like this:</p>
<pre><code>{ &quot;license&quot; : &quot;(ISC OR GPL-3.0)&quot; }
</code></pre><p>If you are using a license that hasn&#39;t been assigned an SPDX identifier, or if
you are using a custom license, use the following valid SPDX expression:</p>
-<pre><code>{ &quot;license&quot; : &quot;LicenseRef-LICENSE&quot; }
-</code></pre><p>Then include a LICENSE file at the top level of the package.</p>
+<pre><code>{ &quot;license&quot; : &quot;SEE LICENSE IN &lt;filename&gt;&quot; }
+</code></pre><p>Then include a file named <code>&lt;filename&gt;</code> at the top level of the package.</p>
<p>Some old packages used license objects or a &quot;licenses&quot; property containing an
array of license objects:</p>
<pre><code>// Not valid metadata
@@ -106,7 +106,11 @@ array of license objects:</p>
<pre><code>{ &quot;license&quot;: &quot;ISC&quot; }
{ &quot;license&quot;: &quot;(MIT OR Apache-2.0)&quot; }
-</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>{ &quot;license&quot;: &quot;UNLICENSED&quot;}
+</code></pre><p>Consider also setting <code>&quot;private&quot;: true</code> to prevent accidental publication.</p>
+<h2 id="people-fields-author-contributors">people fields: author, contributors</h2>
<p>The &quot;author&quot; is one person. &quot;contributors&quot; is an array of people. A &quot;person&quot;
is an object with a &quot;name&quot; field and optionally &quot;url&quot; and &quot;email&quot;, like this:</p>
<pre><code>{ &quot;name&quot; : &quot;Barney Rubble&quot;