Closed apaleslimghost closed 8 years ago
hello is this a response to my issue?
No?
Feel free to submit a PR for this.
@joshhornby I have a bit of free time today. Will try to submit a PR soon
this is fixed
Unless I'm missing something, no, it's not.
peerDependencies
aren't things yourequire
, they're things that your module works alongside of (e.g. Grunt plugins have Grunt as apeerDependency
). Moreover, since npm 3.0, they're not installed automatically when you install a module.Since you
require
React and Chart.js, they're regulardependencies
. You should move them todependencies
inpackage.json
and give them version constraints (e.g. this library doesn't yet work with React 0.14, so in thedependencies
hash it should have"react": "<=0.13"
).