node/deps/npm/man/man1/npm-pack.1

38 lines
821 B
Groff
Raw Normal View History

.TH "NPM\-PACK" "1" "May 2015" "" ""
.SH "NAME"
2014-09-25 05:41:07 +08:00
\fBnpm-pack\fR \- Create a tarball from a package
.SH SYNOPSIS
.P
.RS 2
2014-11-05 07:08:12 +08:00
.nf
npm pack [<pkg> [<pkg> \.\.\.]]
2014-11-05 07:08:12 +08:00
.fi
2014-09-25 05:41:07 +08:00
.RE
.SH DESCRIPTION
.P
For anything that's installable (that is, a package folder, tarball,
tarball url, name@tag, name@version, or name), this command will fetch
it to the cache, and then copy the tarball to the current working
directory as \fB<name>\-<version>\.tgz\fR, and then write the filenames out to
stdout\.
.P
If the same package is specified multiple times, then the file will be
overwritten the second time\.
.P
If no arguments are supplied, then npm packs the current package folder\.
2014-09-25 05:41:07 +08:00
.SH SEE ALSO
.RS 0
.IP \(bu 2
npm help cache
2014-09-25 05:41:07 +08:00
.IP \(bu 2
npm help publish
2014-09-25 05:41:07 +08:00
.IP \(bu 2
npm help config
2014-09-25 05:41:07 +08:00
.IP \(bu 2
2014-09-17 06:38:50 +08:00
npm help 7 config
2014-09-25 05:41:07 +08:00
.IP \(bu 2
2014-09-17 06:38:50 +08:00
npm help 5 npmrc
2014-09-25 05:41:07 +08:00
.RE