The reason is how the npm
packages install.
npm install -g <package>
, npm
<package>
. , , , Gulp:
$ npm install -g gulp
$ cd path/to/project
$ gulp
, .
, , .. . . npm
: . npm install
-g
.
$ npm install uuid
, , foo
, foo/node_modules
uuid
. .js
foo
( ), uuid
, .
WebStorm: Language & Frameworks → Javascript → Libraries
npm
, . WebStorm .