Fixes #27 - Support for optionalDependencies (and peerDependencies)