Reputation: 2415
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
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