Browse Source

Restore minimum react native version ^0.56

empyrical 5 years ago
parent
commit
c3e2443d24
No account linked to committer's email address
2 changed files with 3 additions and 2 deletions
  1. 1
    0
      README.md
  2. 2
    2
      package.json

+ 1
- 0
README.md View File

58
   * `yarn flow-android` or `npm run flow-android` for Android
58
   * `yarn flow-android` or `npm run flow-android` for Android
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:
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
   * `    "flow-example": "flow check --flowconfig-name .flowconfig.example"`
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
 ## Maintainers
63
 ## Maintainers
63
 
64
 

+ 2
- 2
package.json View File

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