Permalink
Browse files

Document the 'dev' config

  • Loading branch information...
1 parent 864dcd3 commit 6f7987bb40910cb651f9f2cd3d020bfb5e602db1 @isaacs isaacs committed Aug 10, 2010
Showing with 13 additions and 0 deletions.
  1. +7 −0 doc/config.md
  2. +6 −0 man/config.1
View
@@ -161,3 +161,10 @@ If set to some truish value (for instance, by being the last cli flag or being
passed a literal `true` or `1`), and the `npm config set` param is being
called, then the new configuration paramater is written global config file.
Otherwise, they are saved to the user config file.
+
+### dev
+
+If set to a truish value, then it'll install the "devDependencies" as well as
+"dependencies" when installing a package.
+
+Note that devDependencies are *always* installed when linking a package.
View
@@ -191,3 +191,9 @@ Note that this must be provided in the cli, env, or userconfig settings\. Once t
.
.SS "global"
If set to some truish value (for instance, by being the last cli flag or being passed a literal \fBtrue\fR or \fB1\fR), and the \fBnpm config set\fR param is being called, then the new configuration paramater is written global config file\. Otherwise, they are saved to the user config file\.
+.
+.SS "dev"
+If set to a truish value, then it\'ll install the "devDependencies" as well as "dependencies" when installing a package\.
+.
+.P
+Note that devDependencies are \fIalways\fR installed when linking a package\.

0 comments on commit 6f7987b

Please sign in to comment.