We are going to switch to nmp instead of bower (as a dependency manager).

In bower, all installed libraries were added to bower_component or another. Separate folder.

Npm by default we dump everything into node_modules by mixing code libraries, gulp, preprocessors compilers, etc.

Is it possible to somehow separate them?

    1 answer 1

    You can use --prefix to split downloaded folders.

    mkdir -p ./install/here/node_modules

    npm install --prefix ./install/here