{
  "name": "react-waypoint",
  "version": "0.1.0",
  "description": "A React component to execute a function whenever you scroll to an element.",
  "main": "index.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/brigade/react-waypoint.git"
  },
  "keywords": [
    "react",
    "component",
    "react-component",
    "scroll",
    "onscroll"
  ],
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/brigade/react-waypoint/issues"
  },
  "homepage": "https://github.com/brigade/react-waypoint",
  "dependencies": {
    "react": "^0.12.2"
  }
}

{
  "name": "react-waypoint",
  "version": "0.1.0",
  "description": "A React component to execute a function whenever you scroll to an element.",
  "main": "index.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/brigade/react-waypoint.git"
  },
  "keywords": [
    "react",
    "component",
    "react-component",
    "scroll",
    "onscroll"
  ],
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/brigade/react-waypoint/issues"
  },
  "homepage": "https://github.com/brigade/react-waypoint",
  "peerDependencies": {
    "react": "^0.12.2"
  }
}

Make react a peerDependency instead of a dependency
Make react a peerDependency instead of a dependency

peerDependencies is appropriate for expressing the dependency between a
"plugin" and its "host package", to allow npm to resolve the dependency
tree in a way that makes sense for a single, top-level, "host package".
In this case, the "plugin" in question in react-waypoint, and the "host
package" is React.js.

More info: http://blog.nodejs.org/2013/02/07/peer-dependencies/
