summaryrefslogtreecommitdiff
path: root/deps/npm/man/man5/package.json.5
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/man/man5/package.json.5')
-rw-r--r--deps/npm/man/man5/package.json.518
1 files changed, 17 insertions, 1 deletions
diff --git a/deps/npm/man/man5/package.json.5 b/deps/npm/man/man5/package.json.5
index 89fbe6cec6..38763523bc 100644
--- a/deps/npm/man/man5/package.json.5
+++ b/deps/npm/man/man5/package.json.5
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
-.TH "PACKAGE\.JSON" "5" "August 2013" "" ""
+.TH "PACKAGE\.JSON" "5" "September 2013" "" ""
.
.SH "NAME"
\fBpackage.json\fR \-\- Specifics of npm\'s package\.json handling
@@ -493,6 +493,9 @@ npm help \fB~version\fR "Approximately equivalent to version" See semver
.IP "\(bu" 4
\fBgit\.\.\.\fR See \'Git URLs as Dependencies\' below
.
+.IP "\(bu" 4
+\fBuser/repo\fR See \'GitHub URLs\' below
+.
.IP "" 0
.
.P
@@ -546,6 +549,19 @@ git+https://user@hostname/project/blah\.git#commit\-ish
The \fBcommit\-ish\fR can be any tag, sha, or branch which can be supplied as
an argument to \fBgit checkout\fR\|\. The default is \fBmaster\fR\|\.
.
+.SH "GitHub URLs"
+As of version 1\.1\.65, you can refer to GitHub urls as just "foo": "user/foo\-project"\. For example:
+.
+.P
+\fBjson
+{
+ "name": "foo",
+ "version": "0\.0\.0",
+ "dependencies": {
+ "express": "visionmedia/express"
+ }
+}\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