Browse Source

update to RN31

Daniel Zlotin 8 years ago
parent
commit
5bdf38e510
2 changed files with 8 additions and 8 deletions
  1. 4
    4
      example-redux/package.json
  2. 4
    4
      package.json

+ 4
- 4
example-redux/package.json View File

@@ -3,16 +3,16 @@
3 3
   "version": "0.0.1",
4 4
   "private": true,
5 5
   "scripts": {
6
-    "start": "watchman watch-del-all && node node_modules/react-native/local-cli/cli.js start"
6
+    "start": "watchman watch-del-all && adb reverse tcp:8081 tcp:8081 && node node_modules/react-native/local-cli/cli.js start"
7 7
   },
8 8
   "dependencies": {
9
-    "react-native": "0.25.1",
10
-    "react": "0.14.5",
9
+    "react-native-navigation": "file:../",
10
+    "react-native": "0.31.0",
11
+    "react": "15.2.1",
11 12
     "react-redux": "^4.0.6",
12 13
     "redux": "^3.0.5",
13 14
     "redux-thunk": "^1.0.3",
14 15
     "seamless-immutable": "^5.0.1",
15
-    "react-native-navigation": "file:../",
16 16
     "babel-preset-react-native-stage-0": "*"
17 17
   }
18 18
 }

+ 4
- 4
package.json View File

@@ -26,8 +26,8 @@
26 26
     "release": "npm version prerelease && npm publish --tag next && npm view react-native-navigation dist-tags && git push"
27 27
   },
28 28
   "peerDependencies": {
29
-    "react-native": ">=0.25.1",
30
-    "react": ">=0.14.5"
29
+    "react-native": ">=0.31.0",
30
+    "react": ">=15.2.1"
31 31
   },
32 32
   "dependencies": {
33 33
     "react-native-controllers": "^2.0.0",
@@ -38,8 +38,8 @@
38 38
     "react-redux": "*"
39 39
   },
40 40
   "devDependencies": {
41
-    "react-native": "0.25.1",
42
-    "react": "0.14.5",
41
+    "react-native": "0.31.0",
42
+    "react": "15.2.1",
43 43
     "app-root-path": "^1.0.0",
44 44
     "babel-cli": "^6.8.0",
45 45
     "babel-core": "^6.8.0",