forked from dejakob/nodejs-mobile-react-native
-
Notifications
You must be signed in to change notification settings - Fork 7
/
react-native.config.js
31 lines (31 loc) · 973 Bytes
/
react-native.config.js
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
module.exports = {
dependency: {
platforms: {
android: {
sourceDir: './android'
},
ios: {
project: './ios/RNNodeJsMobile.xcodeproj',
scriptPhases: [
{
name: '[NODEJS MOBILE] Copy Node.js Project files',
path: './scripts/ios-copy-nodejs-project.sh',
execution_position: 'after_compile'
}, {
name: '[NODEJS MOBILE] Build Native Modules',
path: './scripts/ios-build-native-modules.sh',
execution_position: 'after_compile'
}, {
name: '[NODEJS MOBILE] Sign Native Modules',
path: './scripts/ios-sign-native-modules.sh',
execution_position: 'after_compile'
}, {
name: '[NODEJS MOBILE] Remove Simulator Strip',
path: './scripts/ios-remove-framework-simulator-strips.sh',
execution_position: 'after_compile'
}
]
}
}
}
}