diff options
author | isaacs <i@izs.me> | 2012-03-02 09:31:24 -0800 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-03-02 09:31:46 -0800 |
commit | 054127112ce335ceb4477a481e99e3fb2176b457 (patch) | |
tree | 22c5386ce5538f3db7996a6e71d30264617a66b8 /deps/npm/html/doc/scripts.html | |
parent | edea94c332f07ed81ea7de9b93bbcec806c81544 (diff) | |
download | node-054127112ce335ceb4477a481e99e3fb2176b457.tar.gz |
Upgrade npm to 1.1.3
* Update request to support HTTPS-over-HTTP proxy tunneling
* Throw on undefined envs in config settings
* Update which to 1.0.5
* Fix windows UNC busyloop in findPrefix
* Bundle nested bundleDependencies properly
* Alias adduser to add-user
* Doc updates (Christian Howe, Henrik Hodne, Andrew Lunny)
* ignore logfd/outfd streams in makeEnv() (Rod Vagg)
* shrinkwrap: Behave properly with url-installed deps
* install: Support --save with url install targets
* Support installing naked tars or single-file modules from urls etc.
* init: Don't add engines section
* Don't run make clean on rebuild
* Added missing unicode replacement (atomizer)
Diffstat (limited to 'deps/npm/html/doc/scripts.html')
-rw-r--r-- | deps/npm/html/doc/scripts.html | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/deps/npm/html/doc/scripts.html b/deps/npm/html/doc/scripts.html index d4aa6668a..4745fcbb8 100644 --- a/deps/npm/html/doc/scripts.html +++ b/deps/npm/html/doc/scripts.html @@ -52,6 +52,19 @@ privileges.</p> made available regarding the setup of npm and the current state of the process.</p> +<h3 id="path">path</h3> + +<p>If you depend on modules that define executable scripts, like test suites, +then those executables will be added to the <code>PATH</code> for executing the scripts. +So, if your package.json has this:</p> + +<pre><code>{ "name" : "foo" +, "dependencies" : { "bar" : "0.1.x" } +, "scripts": { "start" : "bar ./test" } }</code></pre> + +<p>then you could run <code>npm start</code> to execute the <code>bar</code> script, which is exported +into the <code>node_modules/.bin</code> directory on <code>npm install</code>.</p> + <h3 id="package-json-vars">package.json vars</h3> <p>The package.json fields are tacked onto the <code>npm_package_</code> prefix. So, for @@ -164,7 +177,7 @@ will sudo the npm command in question.</li></ul> <ul><li><a href="../doc/run-script.html">run-script(1)</a></li><li><a href="../doc/json.html">json(1)</a></li><li><a href="../doc/developers.html">developers(1)</a></li><li><a href="../doc/install.html">install(1)</a></li></ul> </div> -<p id="footer">scripts — npm@1.1.2</p> +<p id="footer">scripts — npm@1.1.3</p> <script> ;(function () { var wrapper = document.getElementById("wrapper") |