diff options
Diffstat (limited to 'deps/npm/html/doc/files/npm-json.html')
-rw-r--r-- | deps/npm/html/doc/files/npm-json.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/deps/npm/html/doc/files/npm-json.html b/deps/npm/html/doc/files/npm-json.html index 56fc6594dc..46c77ec1c0 100644 --- a/deps/npm/html/doc/files/npm-json.html +++ b/deps/npm/html/doc/files/npm-json.html @@ -1,7 +1,7 @@ <!doctype html> <html> <title>package.json</title> - <meta http-equiv="content-type" value="text/html;utf-8"> + <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="../../static/style.css"> <link rel="canonical" href="https://www.npmjs.org/doc/files/package.json.html"> <script async=true src="../../static/toc.js"></script> @@ -161,6 +161,7 @@ works just like a <code>.gitignore</code>.</p> <li><code>.npmrc</code></li> <li><code>node_modules</code></li> <li><code>config.gypi</code></li> +<li><code>*.orig</code></li> </ul> <h2 id="main">main</h2> <p>The main field is a module ID that is the primary entry point to your program. @@ -190,7 +191,10 @@ of the package, then you can just supply it as a string. For example:</p> <pre><code>{ "name": "my-program" , "version": "1.2.5" , "bin" : { "my-program" : "./path/to/program" } } -</code></pre><h2 id="man">man</h2> +</code></pre><p>Please make sure that your file(s) referenced in <code>bin</code> starts with +<code>#!/usr/bin/env node</code>, otherwise the scripts are started without the node +executable!</p> +<h2 id="man">man</h2> <p>Specify either a single file or an array of filenames to put in place for the <code>man</code> program to find.</p> <p>If only a single file is provided, then it's installed such that it is the @@ -581,5 +585,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@3.10.3</p> +<p id="footer">package.json — npm@3.10.8</p> |