forked from Path-Check/safeplaces-dct-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
220 lines (220 loc) · 8.69 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
{
"name": "covidsafepaths",
"version": "1.0.28",
"private": true,
"scripts": {
"clean": "rm -rf node_modules && yarn",
"start": "yarn && react-native start",
"tsc": "tsc --noEmit",
"prettier": "prettier \"app/**/*.+(js|jsx|ts|tsx|json)\"",
"format": "yarn prettier --write",
"lint": "eslint ./",
"validate": "yarn prettier --list-different && yarn tsc && yarn lint",
"run-android-bte": "react-native run-android --variant=bteDebug --appId=org.pathcheck.covidsafepathsBte",
"run-android-gps": "react-native run-android --variant=gpsDebug --appId=org.pathcheck.covidsafepaths",
"run-ios-bte": "yarn install:pod && react-native run-ios --scheme \"BTE_Development\"",
"run-ios-gps": "yarn install:pod && react-native run-ios --scheme \"GPS_Development\"",
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('You must use Yarn to install, not NPM')\"",
"install:pod": "cd ios && bundle install --quiet && bundle exec pod install --silent",
"postinstall": "patch-package && npx react-native-jetifier",
"postversion": "react-native-version",
"format:all": "prettier --write ./app/**/*.js",
"format:eula": "prettier --write ./app/locales/eula/en.html",
"detox-setup": "detox clean-framework-cache && detox build-framework-cache",
"build:e2e:android": "detox build -c android.emu.release",
"test:e2e:android": "detox test -c android.emu.release",
"build:e2e:ios": "detox build -c iphone11.sim",
"test:e2e:iphone11": "detox test -c iphone11.sim --loglevel=warn",
"test:e2e:iphone-se": "detox test -c iphone-se.sim --loglevel=warn",
"test:e2e:iphone8": "detox test -c iphone8.sim --loglevel=warn",
"i18n:check": "./app/locales/check.sh",
"i18n:extract": "i18next",
"i18n:pull": "./app/locales/pull.sh",
"i18n:push": "./app/locales/push.sh",
"test": "jest --config=./jest/config.js",
"test:watch": "jest --config=./jest/config.js --watch",
"update-snapshots": "jest --config=./jest/config.js --updateSnapshot",
"test:dev_setup": "bats __tests__/dev_setup.test.bats",
"version:bump:major": "version --premajor",
"version:bump:minor": "version --preminor",
"version:bump:patch": "version --prepatch"
},
"husky": {
"hooks": {
"pre-push": "yarn validate && yarn test"
}
},
"rnpm": {
"assets": [
"shared/assets/fonts"
]
},
"dependencies": {
"@emotion/core": "^10.0.28",
"@emotion/native": "^10.0.27",
"@mauron85/react-native-background-geolocation": "^0.6.3",
"@react-native-community/async-storage": "^1.8.1",
"@react-native-community/geolocation": "^2.0.2",
"@react-native-community/masked-view": "0.1.5",
"@react-native-community/push-notification-ios": "^1.1.0",
"@react-native-community/viewpager": "^3.3.0",
"@react-navigation/native": "5.0.9",
"@react-navigation/stack": "5.1.1",
"@reduxjs/toolkit": "^1.3.6",
"dayjs": "^1.8.24",
"emotion-theming": "^10.0.27",
"geolib": "^3.2.1",
"i18next": "^19.3.3",
"js-yaml": "^3.13.1",
"lodash": "^4.17.15",
"patch-package": "^6.2.2",
"pluralize": "^8.0.0",
"postinstall-postinstall": "^2.0.0",
"prop-types": "^15.7.2",
"react": "16.9.0",
"react-i18next": "^11.3.5",
"react-native": "0.61.5",
"react-native-app-intro-slider": "^3.0.0",
"react-native-background-fetch": "^3.0.4",
"react-native-background-timer": "^2.2.0",
"react-native-config": "luggit/react-native-config#1eb6ac01991210ddad2989857359a0f6ee35d734",
"react-native-document-picker": "github:rparet/react-native-document-picker",
"react-native-fs": "^2.16.6",
"react-native-gesture-handler": "^1.6.1",
"react-native-linear-gradient": "^2.5.6",
"react-native-local-resource": "^0.1.6",
"react-native-permissions": "^2.0.10",
"react-native-popup-menu": "^0.15.7",
"react-native-pulse": "^1.0.7",
"react-native-push-notification": "^3.1.9",
"react-native-reanimated": "^1.7.1",
"react-native-safe-area-context": "0.6.0",
"react-native-screens": "2.0.0-alpha.12",
"react-native-share": "^3.1.0",
"react-native-splash-screen": "^3.2.0",
"react-native-svg": "^12.0.3",
"react-native-uuid-generator": "^6.1.1",
"react-native-webview": "^8.1.2",
"react-native-zip-archive": "^5.0.1",
"react-redux": "^7.2.0",
"reanimated-bottom-sheet": "^1.0.0-alpha.19",
"redux": "^4.0.5",
"redux-persist": "^6.0.0",
"rn-fetch-blob": "^0.12.0",
"semver": "^7.3.2",
"valid-url": "^1.0.9",
"victory-native": "^34.1.0"
},
"devDependencies": {
"@babel/core": "^7.8.6",
"@babel/runtime": "^7.8.4",
"@jumpn/react-native-jetifier": "^0.1.4",
"@react-native-community/eslint-config": "^0.0.7",
"@testing-library/react-native": "^5.0.3",
"@types/jest": "^25.2.3",
"@types/react": "^16.9.35",
"@types/react-native": "^0.62.12",
"@types/react-test-renderer": "^16.9.2",
"@typescript-eslint/eslint-plugin": "^3.1.0",
"@typescript-eslint/parser": "^3.1.0",
"babel-jest": "^25.1.0",
"bats": "^1.1.0",
"detox": "^16.1.1",
"eslint": "^7.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-detox": "^1.0.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-json": "^2.1.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.0",
"husky": "^4.2.3",
"i18next-parser": "tstirrat/i18next-parser#guard-plural-rule",
"import-sort-config": "^6.0.0",
"import-sort-style-module": "^6.0.0",
"jest": "^25.1.0",
"lint-diff": "^1.2.1",
"lint-staged": "^10.0.9",
"metro-react-native-babel-preset": "^0.58.0",
"mockdate": "^2.0.5",
"prettier": "^2.0.5",
"react-native-svg-transformer": "^0.14.3",
"react-native-version": "^4.0.0",
"react-test-renderer": "16.9.0",
"typescript": "^3.9.3"
},
"importSort": {
".js, .jsx, .es6, .es, .mjs, .ts, .tsx": {
"style": "module"
}
},
"detox": {
"artifacts": {
"rootDir": "./e2e/artifacts/",
"plugins": {
"screenshot": {
"shouldTakeAutomaticSnapshots": true,
"takeWhen": {
"testStart": false,
"testDone": false
}
}
}
},
"configurations": {
"iphone11.sim": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/GPS.app",
"build": "xcodebuild -workspace ios/COVIDSafePaths.xcworkspace -scheme GPS_Development -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone 11"
}
},
"iphone8.sim": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/GPS.app",
"build": "xcodebuild -workspace ios/COVIDSafePaths.xcworkspace -scheme GPS_Production -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone 8"
}
},
"iphone-se.sim": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/GPS.app",
"build": "xcodebuild -workspace ios/COVIDSafePaths.xcworkspace -scheme GPS_Production -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone SE (2nd generation)"
}
},
"iphone11-bte.sim": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/BTE.app",
"build": "xcodebuild -workspace ios/COVIDSafePaths.xcworkspace -scheme BTE_Production -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone 11"
}
},
"iphone8-bte.sim": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/BTE.app",
"build": "xcodebuild -workspace ios/COVIDSafePaths.xcworkspace -scheme BTE_Production -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone 8"
}
},
"iphone-se-bte.sim": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/BTE.app",
"build": "xcodebuild -workspace ios/COVIDSafePaths.xcworkspace -scheme BTE_Production -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone SE (2nd generation)"
}
}
},
"runner-config": "./jest/detox.config.js",
"test-runner": "jest"
}
}