Lines Matching +full:dry +full:- +full:run
1 .TH "NPM\-PRUNE" "1" "April 2022" "" ""
3 \fBnpm-prune\fR \- Remove extraneous packages
8 npm prune [[<@scope>/]<pkg>\.\.\.] [\-\-production] [\-\-dry\-run] [\-\-json]
20 If the \fB\-\-production\fP flag is specified or the \fBNODE_ENV\fP environment
22 specified in your \fBdevDependencies\fP\|\. Setting \fB\-\-no\-production\fP will
25 If the \fB\-\-dry\-run\fP flag is used then no changes will actually be made\.
27 If the \fB\-\-json\fP flag is used then the changes \fBnpm prune\fP made (or would
28 have made with \fB\-\-dry\-run\fP) are printed as a JSON object\.
30 In normal operation with package\-locks enabled, extraneous modules are
32 this command with the \fB\-\-production\fP flag\.
34 If you've disabled package\-locks then extraneous modules will not be removed
35 and it's up to you to run \fBnpm prune\fP from time\-to\-time to remove them\.