From 15ae93428f79bfd9ed5eb4b65f3ab33cf2445160 Mon Sep 17 00:00:00 2001 From: Thibault Malbranche Date: Wed, 20 Mar 2019 12:58:43 +0000 Subject: [PATCH] Update Contributing.md --- docs/Contributing.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/docs/Contributing.md b/docs/Contributing.md index 062b6cc..b797ba1 100644 --- a/docs/Contributing.md +++ b/docs/Contributing.md @@ -44,12 +44,6 @@ $ yarn add ../react-native-webview && react-native link react-native-webview ## Notes -- We use Flow types. TypeScript types will probably be added at a later date. +- We use TypeScript. - We don't intend to support UIWebView and will remove it soon. -- After pulling this repo and installing all dependencies, you can run flow on iOS and Android-specific files using the commands: - - `yarn test:ios:flow` for iOS - - `yarn test:android:flow` for Android -- You can run Jest tests using the command: `yarn test:js` -- 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: - - `"test:example:flow": "flow check --flowconfig-name .flowconfig.example"` -- Currently you need to install React Native 0.57 to be able to test these types - `flow check` will not pass against 0.56. +- After pulling this repo and installing all dependencies, you can run tests using the command: `yarn ci`