The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
peerDependencies not shown in package dependencies
What I Wanted to Do
I have peerDependency issues when installing my package.json. So I wanted to inspect the peerDependencies of the problematic packages. So I wanted to go to the “Dependencies” tab on npmjs.com and inspect the peerDependencies.
What Happened Instead
The “Dependencies” tab on npmjs.com only shows dependencies and devDependencies of the package, but not its peerDependencies.
- Go to https://www.npmjs.com/package/storybook-addon-smart-knobs
- Click the “0 Dependencies” tab
- Only “Dependencies (0)” and " Dev Dependencies (17)" show up, but not the peerDependencies of the package
- The package has 5 peerDependencies though: https://github.com/storybooks/addon-smart-knobs/blob/master/package.json#L35