{
  "name": "react-json-pretty",
  "version": "1.3.1",
  "description": "A code formatting tool for raw json data",
  "main": "src/JSONPretty.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "build": "npm run build-styl && npm run build-jsx",
    "build-styl": "stylus --compress < JSONPretty.monikai.styl > src/JSONPretty.monikai.css",
    "build-jsx": "babel --presets es2015 --plugins 'transform-object-rest-spread' JSONPretty.jsx -d src"
  },
  "keywords": [
    "react",
    "json",
    "format",
    "pretty",
    "react-component"
  ],
  "author": "chenckang@gmail.com",
  "license": "MIT",
  "dependencies": {
    "react": "^0.14.3"
  },
  "devDependencies": {
    "babel-cli": "~6.3.17",
    "babel-core": "^6.3.26",
    "babel-loader": "^6.2.0",
    "babel-plugin-transform-object-rest-spread": "^6.8.0",
    "babel-preset-es2015": "^6.9.0",
    "babel-preset-react": "^6.3.13",
    "stylus": "^0.53.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/chenckang/react-json-pretty"
  }
}

{
  "name": "react-json-pretty",
  "version": "1.3.1",
  "description": "A code formatting tool for raw json data",
  "main": "src/JSONPretty.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "build": "npm run build-styl && npm run build-jsx",
    "build-styl": "stylus --compress < JSONPretty.monikai.styl > src/JSONPretty.monikai.css",
    "build-jsx": "babel --presets es2015 --plugins 'transform-object-rest-spread' JSONPretty.jsx -d src"
  },
  "keywords": [
    "react",
    "json",
    "format",
    "pretty",
    "react-component"
  ],
  "author": "chenckang@gmail.com",
  "license": "MIT",
  "peerDependencies": {
    "react": "^0.14.3"
  },
  "devDependencies": {
    "babel-cli": "~6.3.17",
    "babel-core": "^6.3.26",
    "babel-loader": "^6.2.0",
    "babel-plugin-transform-object-rest-spread": "^6.8.0",
    "babel-preset-es2015": "^6.9.0",
    "babel-preset-react": "^6.3.13",
    "stylus": "^0.53.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/chenckang/react-json-pretty"
  }
}

Add react as a peer dependency
Add react as a peer dependency

If this package works with react 15 it would be very handy to add the react
version as a peer dependency to have the dependent supply the version of react.
In this case react 0.14 would be not installed in an app which is using react 15.
Currently it installs the react 0.14 additionally because it is not a peer dependency.
