diff options
Diffstat (limited to 'deps/npm/html/partial/doc/files/package.json.html')
-rw-r--r-- | deps/npm/html/partial/doc/files/package.json.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/npm/html/partial/doc/files/package.json.html b/deps/npm/html/partial/doc/files/package.json.html index 31e4979b87..95f26c6eeb 100644 --- a/deps/npm/html/partial/doc/files/package.json.html +++ b/deps/npm/html/partial/doc/files/package.json.html @@ -104,10 +104,10 @@ feature to install the "npm" executable.)</p> command name to local file name. On install, npm will symlink that file into <code>prefix/bin</code> for global installs, or <code>./node_modules/.bin/</code> for local installs.</p> -<p>For example, npm has this:</p> -<pre><code>{ "bin" : { "npm" : "./cli.js" } } -</code></pre><p>So, when you install npm, it'll create a symlink from the <code>cli.js</code> script to -<code>/usr/local/bin/npm</code>.</p> +<p>For example, myapp could have this:</p> +<pre><code>{ "bin" : { "myapp" : "./cli.js" } } +</code></pre><p>So, when you install myapp, it'll create a symlink from the <code>cli.js</code> script to +<code>/usr/local/bin/myapp</code>.</p> <p>If you have a single executable, and its name should be the name of the package, then you can just supply it as a string. For example:</p> <pre><code>{ "name": "my-program" |