summaryrefslogtreecommitdiff
path: root/deps/npm/man/man3/npm-publish.3
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/man/man3/npm-publish.3')
-rw-r--r--deps/npm/man/man3/npm-publish.354
1 files changed, 22 insertions, 32 deletions
diff --git a/deps/npm/man/man3/npm-publish.3 b/deps/npm/man/man3/npm-publish.3
index 842da1bb80..877ab41d2f 100644
--- a/deps/npm/man/man3/npm-publish.3
+++ b/deps/npm/man/man3/npm-publish.3
@@ -1,51 +1,41 @@
-.\" Generated with Ronnjs 0.3.8
-.\" http://github.com/kapouer/ronnjs/
-.
.TH "NPM\-PUBLISH" "3" "September 2014" "" ""
-.
.SH "NAME"
-\fBnpm-publish\fR \-\- Publish a package
-.
-.SH "SYNOPSIS"
-.
-.nf
+\fBnpm-publish\fR \- Publish a package
+.SH SYNOPSIS
+.P
+.RS 2
+.EX
npm\.commands\.publish([packages,] callback)
-.
-.fi
-.
-.SH "DESCRIPTION"
+.EE
+.RE
+.SH DESCRIPTION
+.P
Publishes a package to the registry so that it can be installed by name\.
-Possible values in the \'packages\' array are:
-.
-.IP "\(bu" 4
+Possible values in the 'packages' array are:
+.RS 0
+.IP \(bu 2
\fB<folder>\fR:
A folder containing a package\.json file
-.
-.IP "\(bu" 4
+.IP \(bu 2
\fB<tarball>\fR:
A url or file path to a gzipped tar archive containing a single folder
with a package\.json file inside\.
-.
-.IP "" 0
-.
+
+.RE
.P
If the package array is empty, npm will try to publish something in the
current working directory\.
-.
.P
This command could fails if one of the packages specified already exists in
the registry\. Overwrites when the "force" environment variable is set\.
-.
-.SH "SEE ALSO"
-.
-.IP "\(bu" 4
+.SH SEE ALSO
+.RS 0
+.IP \(bu 2
npm help 7 registry
-.
-.IP "\(bu" 4
+.IP \(bu 2
npm help adduser
-.
-.IP "\(bu" 4
+.IP \(bu 2
npm apihelp owner
-.
-.IP "" 0
+
+.RE