This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,31 @@ | ||
.\" generated with Ronn/v0.4.1 | ||
.\" http://github.com/rtomayko/ronn/ | ||
. | ||
.TH "NPM\-PUBLISH" "1" "April 2010" "" "" | ||
.TH "NPM\-PUBLISH" "1" "May 2010" "" "" | ||
. | ||
.SH "NAME" | ||
\fBnpm\-publish\fR \-\- Publish a package | ||
. | ||
.SH "SYNOPSIS" | ||
. | ||
.nf | ||
npm publish <tarball\-url> | ||
npm publish <tarball> | ||
npm publish <folder> | ||
. | ||
.fi | ||
. | ||
.SH "DESCRIPTION" | ||
Publishes a tarball containing a package to the npm registry. | ||
Publishes a package to the registry so that it can be installed by name. | ||
. | ||
.TP | ||
\fB<folder>\fR | ||
A folder containing a package.json file | ||
. | ||
.TP | ||
\fB<tarball>\fR | ||
A url or file path to a gzipped tar archive containing a single folder | ||
with a package.json file inside. | ||
. | ||
.P | ||
When installation from the registry is supported, this will be much more | ||
relevant. | ||
Fails if the package name and version combination already exists in | ||
the registry. |