Made React version not exact again

Summary:
React is a peer dependency and apps may depend on a wider range of versions of React, so strict dependency is not a good choice.
Also `react-native init` does `npm install react` internally creating package.json with `react: ^0.15.x`, this change makes versions consistent as well.

Reviewed By: matryoshcow

Differential Revision: D3365433

fbshipit-source-id: d2810662c36129ff9af184c359ac190544db75da
This commit is contained in:
Konstantin Raev 2016-05-31 08:17:36 -07:00 committed by Facebook Github Bot 7
parent 31eea8eee3
commit 0b6764d18e
1 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@
"react-native": "local-cli/wrong-react-native.js" "react-native": "local-cli/wrong-react-native.js"
}, },
"peerDependencies": { "peerDependencies": {
"react": "15.1.0" "react": "^15.1.0"
}, },
"dependencies": { "dependencies": {
"absolute-path": "^0.0.0", "absolute-path": "^0.0.0",
@ -191,7 +191,7 @@
"flow-bin": "^0.26.0", "flow-bin": "^0.26.0",
"jest": "12.1.1", "jest": "12.1.1",
"portfinder": "0.4.0", "portfinder": "0.4.0",
"react": "15.1.0", "react": "^15.1.0",
"shelljs": "0.6.0" "shelljs": "0.6.0"
} }
} }