jackyho112 / react-html-attributes

A store of react-supported html attributes keyed by their tags
MIT License
23 stars 14 forks source link

`html-element-attributes` listed as both peer and regular dependency #6

Closed fvgs closed 7 years ago

fvgs commented 7 years ago

html-element-attributes is currently listed as both a peer and regular dependency in package.json. Is this by design?

{
  "dependencies": {
    "html-element-attributes": "^1.0.0"
  },
  "peerDependencies": {
    "html-element-attributes": "^1.0.0"
  },
}

The presence of the peer dependency is currently causing issues with the installation of paypal/glamorous. On npm 2, it leads to an extraneous dependency error and similarly can lead to a missing peer dependency error.

Would it make sense to remove the peer dependency?