Add a peerDependencies section in package.json doc

Fixes #4739.