Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/man1
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-01-09 10:05:28 +0300
committerisaacs <i@izs.me>2011-01-09 10:05:28 +0300
commit609ed5643a678ade30872cfb57474a5f9ca95811 (patch)
tree50d4996e5a9e988ab331bcc8c6138cb4f7b21ce5 /man1
parent2adbbae82462be860ec120c699a1a838f7b9c081 (diff)
Make the bundle folder configurable
Diffstat (limited to 'man1')
-rw-r--r--man1/bundle.14
-rw-r--r--man1/json.14
2 files changed, 8 insertions, 0 deletions
diff --git a/man1/bundle.1 b/man1/bundle.1
index 54268309d..0be134e02 100644
--- a/man1/bundle.1
+++ b/man1/bundle.1
@@ -51,6 +51,10 @@ In this way, a command like \fBnpm bundle install http://github\.com/user/projec
to have a dependency that is not published on the npm registry\. (It still
must contain a package\.json, though, of course\.)
.
+.P
+If there is a \fBdirectories\.bundle\fR folder specified in the package\.json,
+then it will use that folder rather than \fBnode_modules\fR\|\.
+.
.SH "CAVEATS"
Man pages are not installed by bundle\.
.
diff --git a/man1/json.1 b/man1/json.1
index 38a897ec4..b92b46b19 100644
--- a/man1/json.1
+++ b/man1/json.1
@@ -336,6 +336,10 @@ Put markdown files in here\. Eventually, these will be displayed nicely, maybe,
.SS "directories\.example"
Put example scripts in here\. Someday, it might be exposed in some clever way\.
.
+.SS "directories\.bundle"
+The location where bundled dependencies live\. This defaults to
+"node_modules", but can be set to anything you like\.
+.
.SH "repository"
Specify the place where your code lives\. This is helpful for people who want to
contribute, as well as perhaps maybe being the underpinning of some magical "track