forked from vincentriemer/react-native-dom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flowconfig
47 lines (36 loc) · 1.34 KB
/
.flowconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[ignore]
.*/node_modules/fbjs/.*
# We fork some components by platform.
.*/*[.]android.js
.*/*[.]dom.js
.*/lib/.*
.*/dist/.*
.*/Libraries/react-native/React.js
.*/Libraries/react-native/ReactNative.js
<PROJECT_ROOT>/packages/react-native-dom/Examples/.*
<PROJECT_ROOT>/packages/react-native-dom/Libraries/.*
<PROJECT_ROOT>/packages/react-native-dom/RNTester/.*
<PROJECT_ROOT>/packages/react-native-dom/local-cli/.*
[include]
./packages/rndom-redbox/
./packages/rndom-switch/
./packages/rnpm-plugin-dom/
[libs]
packages/react-native-dom/flow-typed
[options]
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=packages/react-native-dom/node_modules
module.system=haste
module.system.haste.use_name_reducers=true
# keep the following in sync with server/haste/hasteImpl.js
# get basename
module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
# strip .js or .js.flow suffix
module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
# strip .dom suffix
module.system.haste.name_reducers='^\(.*\)\.dom$' -> '\1'
module.system.haste.paths.whitelist=<PROJECT_ROOT>/packages/react-native-dom/Libraries/.*
module.system.haste.paths.whitelist=<PROJECT_ROOT>/packages/react-native-dom/RNTester/.*
module.system.haste.paths.whitelist=<PROJECT_ROOT>/packages/react-native-dom/ReactDom/.*
[version]
^0.89.0