summaryrefslogtreecommitdiff
path: root/deps/npm/html/doc/files/package.json.html
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/html/doc/files/package.json.html')
-rw-r--r--deps/npm/html/doc/files/package.json.html14
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 &#39;Git URLs as Dependencies&#39; below</li>
<li><code>user/repo</code> See &#39;GitHub URLs&#39; 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>
&quot;name&quot;: &quot;foo&quot;,
&quot;version&quot;: &quot;0.0.0&quot;,
&quot;dependencies&quot;: {
- &quot;express&quot;: &quot;visionmedia/express&quot;,
- &quot;mocha&quot;: &quot;visionmedia/mocha#4727d357ea&quot;,
+ &quot;express&quot;: &quot;expressjs/express&quot;,
+ &quot;mocha&quot;: &quot;mochajs/mocha#4727d357ea&quot;,
&quot;module&quot;: &quot;user/repo#feature\/branch&quot;
}
}
@@ -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>{ &quot;name&quot;: &quot;ethopia-waza&quot;,
@@ -402,11 +402,11 @@ script to do this, and make the required package a devDependency.</p>
&quot;coffee-script&quot;: &quot;~1.6.3&quot;
},
&quot;scripts&quot;: {
- &quot;prepublish&quot;: &quot;coffee -o lib/ -c src/waza.coffee&quot;
+ &quot;prepare&quot;: &quot;coffee -o lib/ -c src/waza.coffee&quot;
},
&quot;main&quot;: &quot;lib/waza.js&quot;
}
-</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&#39;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>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table>
-<p id="footer">package.json &mdash; npm@3.10.10</p>
+<p id="footer">package.json &mdash; npm@4.0.5</p>