prune
Remove extraneous packages not listed in package.json from a project directory. Optionally remove devDependencies and preview changes before making them.
Instructions
Remove extraneous packages not listed in package.json
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the package directory | |
| dryRun | No | Preview changes without making them | |
| production | No | Remove devDependencies |