Let's assume that I have a directory in my intranet, which contains a node_modules folder, which contains all the dependencies, which I need for my web-project to work. As far as I know, I can type something like (in the terminal from my project's root folder):
npm i "\\RepoComp\Repo\node_modules\bootstrap"
So, it will install bootstrap
package into my project. It's quite good, but I wouldn't like to install all of the packages, listed in my package.json
manually, I'd like to type just:
npm i <path-to-intranet-repo>
And I expect npm to gather all of the dependencies from this intranet location. How can I achieve this?
via klutch1991
No comments:
Post a Comment