We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f9f0a1 commit 6ab06d7Copy full SHA for 6ab06d7
docs/lib/content/commands/npm-prune.md
@@ -16,10 +16,9 @@ then only packages matching one of the supplied names are removed.
16
Extraneous packages are those present in the `node_modules` folder that are
17
not listed as any package's dependency list.
18
19
-If the `--production` flag is specified or the `NODE_ENV` environment
+If the `--omit=dev` flag is specified or the `NODE_ENV` environment
20
variable is set to `production`, this command will remove the packages
21
-specified in your `devDependencies`. Setting `--no-production` will negate
22
-`NODE_ENV` being set to `production`.
+specified in your `devDependencies`.
23
24
If the `--dry-run` flag is used then no changes will actually be made.
25
0 commit comments