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.
npm install -g flatten-deps
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.
cd PROJECT_ROOT
flatten-deps
- Tests