Some related questions:
First, I am using PhpStorm 9.0.2 and would like to move the node_modules package directory from the root directory of my project to a sub-directory. But when I try to do this all of the packages I have installed no longer show up in the "Node.js and NPM" settings page. I can't seem to find where to set the path, is this even something that is possible to do?
Second, I notice that my package.json file has a few dependencies in it, perhaps the defaults from when my project was set up. But most of the Node.js packages I've installed since then don't show up. Is there a way in PhpStorm or otherwise to make sure package.json is automatically kept sync'ed with the packages I currently have installed? That is what seems to happen with bower.json and my client-side packages.
Third, I would also like to move package.json to a sub-directory, can I do this somehow?