npm prune

删除多余的包

概要

npm prune [[<@scope>/]<pkg>...]

描述

此命令删除 "extraneous" 包。如果提供了包名称,则仅删除与提供的名称之一匹配的包。

无关的包是那些存在于 node_modules 文件夹中的包,它们没有被列为任何包的依赖项列表。

如果指定了 --production 标志或 NODE_ENV 环境变量设置为 production,则此命令将删除您的 devDependencies 中指定的包。设置 --no-production 将否定 NODE_ENV 设置为 production

如果使用 --dry-run 标志,则实际上不会进行任何更改。

b8+qMvCmHyzgx9yHozcMz7dh5fp7y5v2IzHLzed+iOMMAuhYXB77q78uA5B/9D16OjcsgLjTpAdO4YoYkBAcegsanWl4FUfGxwDydMAAg9yOBE/v/L+35rUuLYxUug9XnsHncOlAuBjfJRW1e4CbLSqr/3uMv6bjhyEzG2h4UAX1VyOeaBi356hzHFuyvFi/1D/O5fhY8ziLit364PqPNaSHbDAonYVM6Msep53EOQE=

EJ3AhNySKWN6HgDdvzqmQr35F8fY0rHHdncio0NkUHO38L2lsYsfkIjjbeUSuTNylpfifIO2/1cbheE+1eG6GUGC8SlcEOZAUYIukJcrXIyfZKFr9PBBMpUiOYYAnRi4QDfXX6EvBPs1f6lTFK41F2VVjxbrp7WKwCH8ysTWax2rgCQa7GwrRJNw2xe9/KeVjlzPmemhVXdKDM61sSuIJOQ0g611o0tsbMcDIecjlf9NxFcP9Pk5PuUewPnIxCr7hbOdM0NKzymsZUD9oakpG+6QJdeu+FPrGRPHoCeQ8dEu05pwvSHfegpROI7a57CMF+NzrmDeXHl3ZEL/cw4z/5qWjMNdK2F2XTllEJ2vDYA=

配置

omit

    b0hrlHHbrsBd1+jTjC8F8Cl26Ry8fpeoBt3N5PMiq5g8qsiHkuBqk6ZzrngmehksWfdGgwMo+h4Pb9cgi+mEldJ3p3b8Tp5/CxBH30/aX6Uz/0s1XdnjK1y5HbyjuOdbenSWbNn2MadQHYSS2E6Va16Td832/XIr69nxeYT2JRzQ35p+AF4xcZ/X4kaQpnvFAWDWslrmiLfJZZOKlMgVYecmeVVihqHNv9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