@@ -29,7 +29,8 @@ All commands:
29
29
pkg, prefix, profile, prune, publish, rebuild, repo,
30
30
restart, root, run-script, search, set, set-script,
31
31
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
33
34
34
35
Specify configs in the ini-formatted file:
35
36
/some/config/file/.npmrc
@@ -65,7 +66,8 @@ All commands:
65
66
pkg, prefix, profile, prune, publish, rebuild, repo,
66
67
restart, root, run-script, search, set, set-script,
67
68
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
69
71
70
72
Specify configs in the ini-formatted file:
71
73
/some/config/file/.npmrc
@@ -101,7 +103,8 @@ All commands:
101
103
pkg, prefix, profile, prune, publish, rebuild, repo,
102
104
restart, root, run-script, search, set, set-script,
103
105
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
105
108
106
109
Specify configs in the ini-formatted file:
107
110
/some/config/file/.npmrc
@@ -137,7 +140,8 @@ All commands:
137
140
pkg, prefix, profile, prune, publish, rebuild, repo,
138
141
restart, root, run-script, search, set, set-script,
139
142
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
141
145
142
146
Specify configs in the ini-formatted file:
143
147
/some/config/file/.npmrc
@@ -286,6 +290,20 @@ All commands:
286
290
287
291
Run "npm help config" for more info
288
292
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
+
289
307
dedupe Reduce duplication in the package tree
290
308
291
309
Usage:
0 commit comments