Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 480 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 480 Bytes

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_ROOT
flatten-deps

TODO

  • Tests