I have a fairly typical package.json
on an AWS ec2 instance. I\'m running npm install
and instead of installing
{
\"name\": \"angular
They are dependencies of the modules you want. This can't be avoided.
This is a difference between NPM 2 and NPM 3. NPM 3 will put the first version of a dependency as a peer and other versions of a dependency nested.
https://docs.npmjs.com/how-npm-works/npm3
https://github.com/npm/npm/issues/11586
I guess it looks uglier, but takes less space.