Flatten Dependencies
Moves node dependencies up the tree to prevent long paths.
On Windows the path limit is 260 chars, which can be a big problem for larger projects.
Installation
npm install -g flatten-deps
Disclaimer
Be certain that none of your installed dependencies rely directly on the file system structure. This script can break these. Often that means checking bin commands.
Usage
cd PROJECT_ROOTflatten-deps
TODO
- Tests