diff options
author | isaacs <i@izs.me> | 2011-03-04 00:02:46 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-03-04 00:02:46 +0300 |
commit | 7f7ba28ef219fd5ff51f21d4a17be0820a865714 (patch) | |
tree | 799265b31d3c33f942f1ee2959d838706fe7ccd8 | |
parent | 57e9933abcadf1d150f77763ccd7aca455c80b5c (diff) |
make doc
-rw-r--r-- | man1/json.1 | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/man1/json.1 b/man1/json.1 index 3468d5a47..fdaac8aab 100644 --- a/man1/json.1 +++ b/man1/json.1 @@ -1,7 +1,7 @@ .\" Generated with Ronnjs/v0.1 .\" http://github.com/kapouer/ronnjs/ . -.TH "NPM\-JSON" "1" "February 2011" "" "" +.TH "NPM\-JSON" "1" "March 2011" "" "" . .SH "NAME" \fBnpm-json\fR \-\- Specifics of npm\'s package\.json handling @@ -401,6 +401,9 @@ range\. The version range is EITHER a string which has one or more space\-separated descriptors, OR a range like "fromVersion \- toVersion" . .P +\fBPlease do not put test harnesses in your \fBdependencies\fR hash\.\fR See \fBdevDependencies\fR, below\. +. +.P Version range descriptors may be any of the following styles, where "version" is a semver compatible version identifier\. . @@ -531,6 +534,20 @@ of a version range\. This tarball will be downloaded and installed as a bundle at install time\. See \fBnpm help bundle\fR . +.SH "devDependencies" +If someone is planning on downloading and using your module in their +program, then they probably don\'t want or need to download and build +the external test or documentation framework that you use\. +. +.P +In this case, it\'s best to list these additional items in a \fBdevDependencies\fR hash\. +. +.P +These things will be installed whenever the \fB\-\-dev\fR configuration flag +is set\. This flag is set automatically when doing \fBnpm link\fR, and can +be managed like any other npm configuration param\. See \fBnpm help +config\fR for more on the topic\. +. .SH "engines" Packages/1\.0 says that you can have an "engines" field with an array of engine names\. However, it has no provision for specifying which version of the engine |