npm: Upgrade to 1.3.19
[platform/upstream/nodejs.git] / deps / npm / html / doc / cli / npm-build.html
1 <!doctype html>
2 <html>
3   <title>npm-build</title>
4   <meta http-equiv="content-type" value="text/html;utf-8">
5   <link rel="stylesheet" type="text/css" href="../../static/style.css">
6
7   <body>
8     <div id="wrapper">
9 <h1><a href="../cli/npm-build.html">npm-build</a></h1> <p>Build a package</p>
10
11 <h2 id="SYNOPSIS">SYNOPSIS</h2>
12
13 <pre><code>npm build &lt;package-folder&gt;</code></pre>
14
15 <ul><li><code>&lt;package-folder&gt;</code>:
16 A folder containing a <code>package.json</code> file in its root.</li></ul>
17
18 <h2 id="DESCRIPTION">DESCRIPTION</h2>
19
20 <p>This is the plumbing command called by <code>npm link</code> and <code>npm install</code>.</p>
21
22 <p>It should generally not be called directly.</p>
23
24 <h2 id="SEE-ALSO">SEE ALSO</h2>
25
26 <ul><li><a href="../cli/npm-install.html">npm-install(1)</a></li><li><a href="../cli/npm-link.html">npm-link(1)</a></li><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../files/package.json.html">package.json(5)</a></li></ul>
27 </div>
28 <p id="footer">npm-build &mdash; npm@1.3.19</p>
29 <script>
30 ;(function () {
31 var wrapper = document.getElementById("wrapper")
32 var els = Array.prototype.slice.call(wrapper.getElementsByTagName("*"), 0)
33   .filter(function (el) {
34     return el.parentNode === wrapper
35         && el.tagName.match(/H[1-6]/)
36         && el.id
37   })
38 var l = 2
39   , toc = document.createElement("ul")
40 toc.innerHTML = els.map(function (el) {
41   var i = el.tagName.charAt(1)
42     , out = ""
43   while (i > l) {
44     out += "<ul>"
45     l ++
46   }
47   while (i < l) {
48     out += "</ul>"
49     l --
50   }
51   out += "<li><a href='#" + el.id + "'>" +
52     ( el.innerText || el.text || el.innerHTML)
53     + "</a>"
54   return out
55 }).join("\n")
56 toc.id = "toc"
57 document.body.appendChild(toc)
58 })()
59 </script>