-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreact-native.config.js
More file actions
60 lines (57 loc) · 1.76 KB
/
react-native.config.js
File metadata and controls
60 lines (57 loc) · 1.76 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
const path = require('path');
const root = path.resolve(__dirname, '..');
const resolvePackageRoot = packageName =>
path.dirname(
require.resolve(`${packageName}/package.json`, {
paths: [root, __dirname],
}),
);
module.exports = {
dependencies: {
'@react-native-masked-view/masked-view': {
root: resolvePackageRoot('@react-native-masked-view/masked-view'),
},
react: {
root: resolvePackageRoot('react'),
},
'react-native': {
root: resolvePackageRoot('react-native'),
},
'react-native-config': {
root: resolvePackageRoot('react-native-config'),
},
'react-native-encrypted-storage': {
root: resolvePackageRoot('react-native-encrypted-storage'),
},
'react-native-gesture-handler': {
root: resolvePackageRoot('react-native-gesture-handler'),
},
'react-native-nitro-modules': {
root: resolvePackageRoot('react-native-nitro-modules'),
},
'react-native-quick-base64': {
root: resolvePackageRoot('react-native-quick-base64'),
},
'react-native-quick-crypto': {
root: resolvePackageRoot('react-native-quick-crypto'),
},
'react-native-reanimated': {
root: resolvePackageRoot('react-native-reanimated'),
},
'react-native-safe-area-context': {
root: resolvePackageRoot('react-native-safe-area-context'),
},
'react-native-screens': {
root: resolvePackageRoot('react-native-screens'),
},
'react-native-vector-icons': {
root: resolvePackageRoot('react-native-vector-icons'),
},
'react-native-webview': {
root: resolvePackageRoot('react-native-webview'),
},
'@shopify/checkout-kit-react-native': {
root: path.resolve(root, 'modules', '@shopify/checkout-kit-react-native'),
},
},
};