2.2.1 • Published 4 years ago

prune-node-modules v2.2.1

Weekly downloads
12
License
MIT
Repository
github
Last release
4 years ago

prune-node-modules

Dependency Status devDependency Status Build Status: Linux Build Status: Windows npm version Downloads type-coverage

A CLI tool to prune node_modules.

install

yarn global add prune-node-modules

usage

run prune-node-modules ./node_modules or prune-node-modules ./node_modules --config prune-node-modules.config.js or prune-node-modules ./node_modules --config prune-node-modules.config.ts

options

keydescription
--configconfig file
-h,--helpPrint this message.
-v,--versionPrint the version

config

keytypedescription
blackliststring[]?the blacklist files, support glob
whiteliststring[]?the whitelist files, support glob

change logs

// v2
can only support one target
blacklist and whitelist are relative to the target directory

// v1
support multiple targets
blacklist and whitelist are relative to current working directory
2.2.1

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago