Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/cli/npm-pack.md')
-rw-r--r--doc/cli/npm-pack.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/cli/npm-pack.md b/doc/cli/npm-pack.md
index f44f5e362..807663ac2 100644
--- a/doc/cli/npm-pack.md
+++ b/doc/cli/npm-pack.md
@@ -3,7 +3,7 @@ npm-pack(1) -- Create a tarball from a package
## SYNOPSIS
- npm pack [[<@scope>/]<pkg>...]
+ npm pack [[<@scope>/]<pkg>...] [--dry-run]
## DESCRIPTION
@@ -18,6 +18,9 @@ overwritten the second time.
If no arguments are supplied, then npm packs the current package folder.
+The `--dry-run` argument will do everything that pack usually does without
+actually packing anything. Reports on what would have gone into the tarball.
+
## SEE ALSO
* npm-cache(1)