EternallyCurious
EternallyCurious

Reputation: 2415

Need to install and uninstall dependencies in Webstorm from package.json

How can you get Webstorm to install all node modules listed in package.json and remove any node modules not listed there?

Upvotes: 4

Views: 4046

Answers (1)

user568109
user568109

Reputation: 48013

You can open terminal window inside WebStorm and then run npm commands from there.

To install packages mentioned in package.json:

npm install

To remove extraneous packages

npm prune

Upvotes: 9

Related Questions