-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
42 lines (42 loc) · 2.11 KB
/
package.json
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
{
"name": "democracy",
"version": "1.5.4",
"license": "MIT",
"private": true,
"workspaces": {
"packages": [
"packages/*"
]
},
"scripts": {
"app:start": "yarn workspace app start",
"app:ios": "yarn workspace app ios",
"app:android": "yarn workspace app android",
"app:device:ios": "yarn workspace app device:ios",
"app:device:android": "yarn workspace app device:android",
"app:release:ios": "yarn workspace app release:ios",
"app:release:android": "yarn workspace app release:android",
"ui:start": "yarn workspace @democracy-deutschland/mobile-ui start",
"ui:ios": "yarn workspace @democracy-deutschland/mobile-ui ios",
"ui:android": "yarn workspace @democracy-deutschland/mobile-ui android",
"ui:release:ios": "yarn workspace @democracy-deutschland/mobile-ui release:ios",
"ui:release:android": "yarn workspace @democracy-deutschland/mobile-ui release:android",
"lint": "yarn workspace @democracy-deutschland/mobile-ui lint && yarn workspace app lint",
"postinstall:android-fix": "replace-in-file \"node ./node_modules/react-native/cli.js config\" \"node ../../node_modules/react-native/cli.js config\" node_modules/@react-native-community/cli-platform-android/native_modules.gradle",
"postinstall:android-e2e-fix": "replace-in-file \"minSdkVersion = 16\" \"minSdkVersion = 21\" packages/mobile-app/android/build.gradle packages/mobile-ui/android/build.gradle",
"postinstall:ios-asset-display": "sed -ie \"s/_currentFrame.CGImage;/_currentFrame.CGImage ;} else { [super displayLayer:layer];/\" node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m",
"postinstall:app": "yarn workspace app postinstall",
"pods": "yarn workspace app pods && yarn workspace @democracy-deutschland/mobile-ui pods",
"postinstall": "yarn postinstall:android-fix && yarn postinstall:app && yarn postinstall:ios-asset-display"
},
"dependencies": {
"react-native": "0.61.5"
},
"devDependencies": {
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"postinstall-postinstall": "^2.1.0",
"replace-in-file": "^6.0.0",
"typescript": "3.8.3"
}
}