Permalink
Browse files

Update description of bundleDependencies in json doc

  • Loading branch information...
grncdr committed Mar 31, 2012
1 parent 64ac2a5 commit 607ed52f1cbc110c767bf481d8776b3caf7cd5d9
Showing with 7 additions and 1 deletion.
  1. +7 −1 doc/cli/json.md
View
@@ -416,7 +416,13 @@ for more on the topic.
## bundledDependencies
-Array of package names that will be bundled when publishing the package.
+Package names that should be bundled from `node_modules/` when packing and/or
+publishing the package.
+
+If this is an array, then all of the package names in the array will be bundled.
+
+If this is a string, it will be used as a glob pattern and any package in
+`node_modules/` that matches the pattern will be bundled.
If this is spelled `"bundleDependencies"`, then that is also honorable.

0 comments on commit 607ed52

Please sign in to comment.