ソースを参照

Restore minimum react native version ^0.56

empyrical 6 年 前
コミット
c3e2443d24
No account linked to committer's email address
共有2 個のファイルを変更した3 個の追加2 個の削除を含む
  1. 1
    0
      README.md
  2. 2
    2
      package.json

+ 1
- 0
README.md ファイルの表示

@@ -58,6 +58,7 @@ Simply install React Native WebView and then use it in place of the core WebView
58 58
   * `yarn flow-android` or `npm run flow-android` for Android
59 59
 * If you want to add another React Native platform to this repository, you will need to create another `.flowconfig` for it. If your platform is `example`, copy the main flowconfig and rename it to `.flowconfig.example`. Then edit the config to ignore other platforms, and add `.*/*[.]example.js` to the ignore lists of the other platforms. Then add an entry to `package.json` like this:
60 60
   * `    "flow-example": "flow check --flowconfig-name .flowconfig.example"`
61
+* Currently you need to install React Native 0.57 to be able to test these types - `flow check` will not pass aganst 0.56.
61 62
 
62 63
 ## Maintainers
63 64
 

+ 2
- 2
package.json ファイルの表示

@@ -11,7 +11,7 @@
11 11
   },
12 12
   "peerDependencies": {
13 13
     "react": "^16.0",
14
-    "react-native": "~0.57.0-rc.4"
14
+    "react-native": "^0.56"
15 15
   },
16 16
   "dependencies": {
17 17
     "escape-string-regexp": "^1.0.5",
@@ -19,6 +19,6 @@
19 19
   },
20 20
   "devDependencies": {
21 21
     "flow-bin": "^0.80.0",
22
-    "react-native": "~0.57.0-rc.4"
22
+    "react-native": "^0.56"
23 23
   }
24 24
 }