P
P
profcat2019-09-08 11:01:40
Node.js
profcat, 2019-09-08 11:01:40

How to install devDependencies in the specified directory?

Hello) I have a package.json in the project folder, where all the devDependencies for it are registered. I need to put the specified packages in node_modules, which is located in the directory above. I tried using --prefix, but, I believe, the command does not install packages from devDependencies, but takes the project itself as a module and shoves it into the specified folder with a link to it. Interesting solution to the problem

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
grinat, 2019-09-08
@grinat

https://github.com/lerna/lerna

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question