I'm learning NPM and stuck at the first step. In my package.json, I added angular-material and expected it to download angular, aria and animate automatically. But it fails to do so. Checking some examples I see that everyone lists every dependency separately.
Isn't the whole point of using a package manager is to auto-download the dependencies?
"dependencies": {
"angular-material": "1.1.0"
},
npm WARN angular-material@1.1.0 requires a peer of angular@>=1.3 <1.6 but none was installed.
npm WARN angular-material@1.1.0 requires a peer of angular-animate@>=1.3 <1.6 but none was installed.
npm WARN angular-material@1.1.0 requires a peer of angular-aria@>=1.3 <1.6 but none was installed.