Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Document the 'dev' config
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Aug 10, 2010
1 parent 864dcd3 commit 6f7987b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/config.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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 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. called, then the new configuration paramater is written global config file.
Otherwise, they are saved to the user 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.
6 changes: 6 additions & 0 deletions man/config.1
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -191,3 +191,9 @@ Note that this must be provided in the cli, env, or userconfig settings\. Once t
. .
.SS "global" .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\. 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.