In Settings/javascript/Node.js and NPM, press Install, enter the desired package name in the search field tolocate it, select, specify version/options if needed (using the corresponding fields in the lower right corner), press Install Package
I did this and the module I wanted got installed under node_modules, however package.json did not get updated. I suppose that still needs to be done manually?
To update the package.json when installing a new package, make sure to pass the '--save' option in Options field It's not very intuitive, of course... If you need making this more evident, please vote for http://youtrack.jetbrains.com/issue/WEB-9561
Hello!
In Settings/javascript/Node.js and NPM, press Install, enter the desired package name in the search field tolocate it, select, specify version/options if needed (using the corresponding fields in the lower right corner), press Install Package
I did this and the module I wanted got installed under node_modules, however package.json did not get updated. I suppose that still needs to be done manually?
To update the package.json when installing a new package, make sure to pass the '--save' option in Options field
It's not very intuitive, of course... If you need making this more evident, please vote for http://youtrack.jetbrains.com/issue/WEB-9561
Thanks Elena! That works for me