0.1.0 • Published 7 years ago
remove-extra-modules v0.1.0
remove-extra-modules
Removes extra modules that exist in parent tree.
├───project
│ └───node_modules
│ ├───babel
│ └───child-module << when run from here
│ └───node_modules
│ ├───babel << removes this because it exists in parent tree
│ ├───eslint << but not this
It goes through entire parent tree (not just one level up).
It moves the extra dependencies in extra_node_modules
Install
npm i -g remove-extra-modules
Usage
$ remove-extra-modules
# or
$ rxm
0.1.0
7 years ago