diff options
Diffstat (limited to 'deps/npm/html/doc/files/package.json.html')
-rw-r--r-- | deps/npm/html/doc/files/package.json.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/deps/npm/html/doc/files/package.json.html b/deps/npm/html/doc/files/package.json.html index 3894c9ead6..392d8552f8 100644 --- a/deps/npm/html/doc/files/package.json.html +++ b/deps/npm/html/doc/files/package.json.html @@ -317,7 +317,7 @@ tarball or git URL.</p> <li><code>range1 || range2</code> Passes if either range1 or range2 are satisfied.</li> <li><code>git...</code> See 'Git URLs as Dependencies' below</li> <li><code>user/repo</code> See 'GitHub URLs' below</li> -<li><code>tag</code> A specific version tagged and published as <code>tag</code> See <code><a href="../cli/npm-tag.html">npm-tag(1)</a></code></li> +<li><code>tag</code> A specific version tagged and published as <code>tag</code> See <code><a href="../cli/npm-dist-tag.html">npm-dist-tag(1)</a></code></li> <li><code>path/path/path</code> See <a href="#local-paths">Local Paths</a> below</li> </ul> <p>For example, these are all valid:</p> @@ -357,8 +357,8 @@ included. For example:</p> "name": "foo", "version": "0.0.0", "dependencies": { - "express": "visionmedia/express", - "mocha": "visionmedia/mocha#4727d357ea", + "express": "expressjs/express", + "mocha": "mochajs/mocha#4727d357ea", "module": "user/repo#feature\/branch" } } @@ -392,7 +392,7 @@ object.</p> from the root of a package, and can be managed like any other npm configuration param. See <code><a href="../misc/npm-config.html">npm-config(7)</a></code> for more on the topic.</p> <p>For build steps that are not platform-specific, such as compiling -CoffeeScript or other languages to JavaScript, use the <code>prepublish</code> +CoffeeScript or other languages to JavaScript, use the <code>prepare</code> script to do this, and make the required package a devDependency.</p> <p>For example:</p> <pre><code>{ "name": "ethopia-waza", @@ -402,11 +402,11 @@ script to do this, and make the required package a devDependency.</p> "coffee-script": "~1.6.3" }, "scripts": { - "prepublish": "coffee -o lib/ -c src/waza.coffee" + "prepare": "coffee -o lib/ -c src/waza.coffee" }, "main": "lib/waza.js" } -</code></pre><p>The <code>prepublish</code> script will be run before publishing, so that users +</code></pre><p>The <code>prepare</code> script will be run before publishing, so that users can consume the functionality without requiring them to compile it themselves. In dev mode (ie, locally running <code>npm install</code>), it'll run this script as well, so that you can test it easily.</p> @@ -586,5 +586,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.10</p> +<p id="footer">package.json — npm@4.0.5</p> |