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, 7 insertions, 5 deletions
diff --git a/deps/npm/html/doc/files/package.json.html b/deps/npm/html/doc/files/package.json.html index 6bf69dca1d..3a6e77c981 100644 --- a/deps/npm/html/doc/files/package.json.html +++ b/deps/npm/html/doc/files/package.json.html @@ -281,11 +281,13 @@ html project page that you put in your browser. It's for computers.</p> shortcut syntax you use for <code>npm install</code>:</p> <pre><code>"repository": "npm/npm" +"repository": "github:user/repo" + "repository": "gist:11081aaa281" -"repository": "bitbucket:example/repo" +"repository": "bitbucket:user/repo" -"repository": "gitlab:another/repo" +"repository": "gitlab:user/repo" </code></pre><h2 id="scripts">scripts</h2> <p>The "scripts" property is a dictionary containing script commands that are run at various times in the lifecycle of your package. The key is the lifecycle @@ -470,7 +472,7 @@ array and executing <code>npm pack</code>.</p> "name": "awesome-web-framework", "version": "1.0.0", "bundledDependencies": [ - 'renderized', 'super-streams' + "renderized", "super-streams" ] } </code></pre><p>we can obtain <code>awesome-web-framework-1.0.0.tgz</code> file by running <code>npm pack</code>. @@ -515,7 +517,7 @@ that it works on node.</p> are capable of properly installing your program. For example:</p> <pre><code>{ "engines" : { "npm" : "~1.0.20" } } </code></pre><p>Unless the user has set the <code>engine-strict</code> config flag, this -field is advisory only will produce warnings when your package is installed as a dependency.</p> +field is advisory only and will only produce warnings when your package is installed as a dependency.</p> <h2 id="enginestrict">engineStrict</h2> <p><strong>This feature was removed in npm 3.0.0</strong></p> <p>Prior to npm 3.0.0, this feature was used to treat this package as if the @@ -601,5 +603,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@5.5.1</p> +<p id="footer">package.json — npm@5.6.0</p> |