diff options
Diffstat (limited to 'deps/npm/html/doc/files/npm-json.html')
-rw-r--r-- | deps/npm/html/doc/files/npm-json.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/deps/npm/html/doc/files/npm-json.html b/deps/npm/html/doc/files/npm-json.html index c83775a521..5727489742 100644 --- a/deps/npm/html/doc/files/npm-json.html +++ b/deps/npm/html/doc/files/npm-json.html @@ -102,10 +102,15 @@ you can specify the value for "bugs" as a simple string instead of an <p>You should specify a license for your package so that people know how they are permitted to use it, and any restrictions you're placing on it.</p> -<p>The simplest way, assuming you're using a common license such as BSD or MIT, is -to just specify the name of the license you're using, like this:</p> +<p>The simplest way, assuming you're using a common license such as BSD-3-Clause +or MIT, is to just specify the standard SPDX ID of the license you're using, +like this:</p> -<pre><code>{ "license" : "BSD" }</code></pre> +<pre><code>{ "license" : "BSD-3-Clause" }</code></pre> + +<p>You can check <a href="https://spdx.org/licenses/">the full list of SPDX license IDs</a>. +Ideally you should pick one that is +<a href="http://opensource.org/licenses/alphabetical">OSI</a> approved.</p> <p>If you have more complex licensing terms, or you want to provide more detail in your package.json file, you can use the more verbose plural form, like this:</p> @@ -550,7 +555,7 @@ overridden.</p> <ul><li><a href="../misc/semver.html">semver(7)</a></li><li><a href="../cli/npm-init.html">npm-init(1)</a></li><li><a href="../cli/npm-version.html">npm-version(1)</a></li><li><a href="../cli/npm-config.html">npm-config(1)</a></li><li><a href="../misc/npm-config.html">npm-config(7)</a></li><li><a href="../cli/npm-help.html">npm-help(1)</a></li><li><a href="../misc/npm-faq.html">npm-faq(7)</a></li><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-publish.html">npm-publish(1)</a></li><li><a href="../cli/npm-rm.html">npm-rm(1)</a></li></ul> </div> -<p id="footer">package.json — npm@1.3.15</p> +<p id="footer">package.json — npm@1.3.17</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") |