@@ -29,7 +29,8 @@ All commands:
2929 pkg, prefix, profile, prune, publish, rebuild, repo,
3030 restart, root, run-script, search, set, set-script,
3131 shrinkwrap, star, stars, start, stop, team, test, token,
32- uninstall, unpublish, unstar, update, version, view, whoami
32+ uninstall, unpublish, unstar, update, version, view, whoami,
33+ copy
3334
3435Specify configs in the ini-formatted file:
3536 /some/config/file/.npmrc
@@ -65,7 +66,8 @@ All commands:
6566 pkg, prefix, profile, prune, publish, rebuild, repo,
6667 restart, root, run-script, search, set, set-script,
6768 shrinkwrap, star, stars, start, stop, team, test, token,
68- uninstall, unpublish, unstar, update, version, view, whoami
69+ uninstall, unpublish, unstar, update, version, view, whoami,
70+ copy
6971
7072Specify configs in the ini-formatted file:
7173 /some/config/file/.npmrc
@@ -101,7 +103,8 @@ All commands:
101103 pkg, prefix, profile, prune, publish, rebuild, repo,
102104 restart, root, run-script, search, set, set-script,
103105 shrinkwrap, star, stars, start, stop, team, test, token,
104- uninstall, unpublish, unstar, update, version, view, whoami
106+ uninstall, unpublish, unstar, update, version, view, whoami,
107+ copy
105108
106109Specify configs in the ini-formatted file:
107110 /some/config/file/.npmrc
@@ -137,7 +140,8 @@ All commands:
137140 pkg, prefix, profile, prune, publish, rebuild, repo,
138141 restart, root, run-script, search, set, set-script,
139142 shrinkwrap, star, stars, start, stop, team, test, token,
140- uninstall, unpublish, unstar, update, version, view, whoami
143+ uninstall, unpublish, unstar, update, version, view, whoami,
144+ copy
141145
142146Specify configs in the ini-formatted file:
143147 /some/config/file/.npmrc
@@ -286,6 +290,20 @@ All commands:
286290
287291 Run "npm help config" for more info
288292
293+ copy Copy package to new location
294+
295+ Usage:
296+ npm copy <destination>
297+
298+ Options:
299+ [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
300+ [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
301+ [-ws|--workspaces] [--include-workspace-root]
302+
303+ alias: cp
304+
305+ Run "npm help copy" for more info
306+
289307 dedupe Reduce duplication in the package tree
290308
291309 Usage:
0 commit comments