Seeking some guidance on my process - can someone point out if I am making a mistake?
- Downloaded Node from their official website
- Global installation of Gulp (npm install --global gulp)
- Created a folder and initiated it by running (npm init), which generates the package.json file
- Installed gulp for the project (npm install --save-dev gulp)
This action adds gulp as a dependency in the package.json file and creates a node_modules folder.
I was under the impression that only a gulp folder would be visible inside the node_modules directory like this:
| node_modules
|-- gulp
However, unexpectedly, about 132 additional dependency folders are being added. Is this normal? Shouldn't these be contained within the gulp folder itself?
- Operating system: Mac OS, Node version: 5.2.0, NPM version: 3.3.12, Gulp version: 3.9.0