List Peer Dependencies Using NPM
Sometimes, it's useful to know what exactly a NPM package depends on before installing it. You can list that package's dependencies by using NPM:
npm info react-native peerDependencies
Optionally, you can target a specific release with:
npm info react-native@latest peerDependencies
Tweet