-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
249 lines (249 loc) · 8.66 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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
{
"name": "hood-chat-ui",
"version": "0.0.1",
"private": true,
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "react-native start",
"ios": "react-native run-ios",
"android": "react-native run-android --active-arch-only",
"test:detox": "detox test -c ios.sim.debug",
"build:detox": "detox build -c ios.sim.debug",
"ci:test:detox": "detox test -c ios.sim.release -l verbose --cleanup",
"ci:build:detox": "detox build -c ios.sim.release",
"compile": "tsc --noEmit -p . --pretty",
"format": "prettier --write \"app/**/*.{js,jsx,json,md,ts,tsx}\"",
"lint": "eslint index.js App.js app test --fix --ext .js,.ts,.tsx && npm run format",
"patch": "patch-package",
"test": "jest",
"test:watch": "jest --watch",
"adb": "adb reverse tcp:9090 tcp:9090 && adb reverse tcp:3000 tcp:3000 && adb reverse tcp:9001 tcp:9001 && adb reverse tcp:8081 tcp:8081",
"postinstall": "node ./bin/postInstall",
"bundle:ios": "react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios",
"bundle:android": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res",
"release:ios": "echo 'Not implemented yet: release:ios. Use Xcode. More info: https://reactnative.dev/docs/next/publishing-to-app-store'",
"release:android": "cd android && rm -rf app/src/main/res/drawable-* && ./gradlew assembleRelease && cd - && echo 'APK generated in ./android/app/build/outputs/apk/release/app-release.apk'",
"clean": "npx react-native-clean-project",
"clean-all": "npx react-native clean-project-auto",
"expo:start": "expo start",
"expo:android": "expo start --android",
"expo:ios": "expo start --ios",
"expo:web": "expo start --web",
"expo:build:detox": "detox build -c ios.sim.expo",
"expo:test:detox": "./bin/downloadExpoApp.sh && detox test --configuration ios.sim.expo"
},
"overrides": {
"react-error-overlay": "6.0.9"
},
"dependencies": {
"@expo-google-fonts/space-grotesk": "^0.2.2",
"@expo/webpack-config": "^0.17.0",
"@react-native-async-storage/async-storage": "^1.17.3",
"@react-native-clipboard/clipboard": "^1.11.1",
"@react-navigation/bottom-tabs": "^6.3.2",
"@react-navigation/native": "~6.0.1",
"@react-navigation/native-stack": "^6.0.2",
"@react-navigation/stack": "~6.2.1",
"@shopify/flash-list": "1.1.0",
"apisauce": "2.1.5",
"buffer": "^6.0.3",
"date-fns": "^2.29.2",
"expo": "~46.0.3",
"expo-application": "~4.2.2",
"expo-constants": "~13.2.3",
"expo-device": "~4.3.0",
"expo-file-system": "~14.1.0",
"expo-font": "~10.2.0",
"expo-linear-gradient": "~11.4.0",
"expo-localization": "13.1.0",
"expo-modules-core": "~0.11.3",
"expo-splash-screen": "~0.16.1",
"expo-status-bar": "~1.4.0",
"fastestsmallesttextencoderdecoder": "^1.0.22",
"i18n-js": "3.9.2",
"mobx": "6.6.0",
"mobx-react-lite": "3.4.0",
"mobx-state-tree": "5.1.5",
"react": "18.0.0",
"react-native": "0.69.7",
"react-native-bootsplash": "4.3.2",
"react-native-gesture-handler": "~2.5.0",
"react-native-gifted-chat": "^1.0.4",
"react-native-paper": "5.0.0-rc.9",
"react-native-qrcode-svg": "^6.1.2",
"react-native-reanimated": "^2.13.0",
"react-native-safe-area-context": "4.4.1",
"react-native-screens": "3.15.0",
"react-native-svg": "^13.6.0",
"react-native-vector-icons": "^9.2.0",
"react-native-vision-camera": "^2.15.2",
"reactotron-mst": "3.1.4",
"reactotron-react-js": "^3.3.7",
"reactotron-react-native": "5.0.3",
"vision-camera-code-scanner": "^0.2.0"
},
"devDependencies": {
"@babel/core": "^7.18.0",
"@babel/plugin-proposal-decorators": "7.18.2",
"@babel/plugin-proposal-optional-catch-binding": "7.16.7",
"@babel/preset-env": "^7.16.11",
"@babel/runtime": "^7.18.3",
"@react-native-community/cli-platform-ios": "^8.0.2",
"@rnx-kit/metro-config": "^1.2.32",
"@rnx-kit/metro-resolver-symlinks": "0.1.21",
"@types/i18n-js": "3.8.2",
"@types/jest": "26.0.19",
"@types/react": "^17",
"@types/react-native": "0.67.8",
"@typescript-eslint/eslint-plugin": "5.28.0",
"@typescript-eslint/parser": "5.28.0",
"babel-jest": "26.6.3",
"babel-loader": "8.2.5",
"detox": "19.12.1",
"detox-expo-helpers": "0.6.0",
"eslint": "8.17.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-standard": "17.0.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.0.0",
"eslint-plugin-react": "7.30.0",
"eslint-plugin-react-native": "4.0.0",
"expo-detox-hook": "1.0.10",
"expo-modules-autolinking": "0.10.1",
"fbjs-scripts": "3.0.1",
"jest": "26",
"jest-circus": "26",
"jest-environment-node": "26",
"jest-expo": "^46.0.1",
"metro-config": "0.71.1",
"metro-react-native-babel-preset": "0.71.1",
"metro-source-map": "0.71.1",
"mocha": "6",
"patch-package": "6.4.7",
"postinstall-prepare": "1.0.1",
"prettier": "2.6.2",
"query-string": "^7.0.1",
"react-devtools-core": "4.24.7",
"react-dom": "18.0.0",
"react-native-web": "^0.18.7",
"reactotron-core-client": "^2.8.10",
"regenerator-runtime": "^0.13.4",
"ts-jest": "26",
"typescript": "4.7.3",
"webpack": "4"
},
"resolutions": {
"@types/react": "^17",
"@types/react-dom": "^17"
},
"prettier": {
"printWidth": 100,
"semi": false,
"singleQuote": false,
"trailingComma": "all"
},
"detox": {
"test-runner": "jest",
"runnerConfig": "./detox/config.json",
"specs": "detox",
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/BeeMessenger.app",
"build": "xcodebuild -workspace ios/BeeMessenger.xcworkspace -scheme BeeMessenger -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -destination 'name=iPhone 14'",
"type": "ios.simulator",
"device": {
"name": "iPhone 14",
"os": "iOS 15.5"
}
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/BeeMessenger.app",
"build": "xcodebuild -workspace ios/BeeMessenger.xcworkspace -scheme BeeMessenger -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -destination 'name=iPhone 14'",
"type": "ios.simulator",
"device": {
"name": "iPhone 14",
"os": "iOS 15.5"
}
},
"ios.sim.expo": {
"binaryPath": "bin/Exponent.app",
"type": "ios.simulator",
"name": "iPhone 14"
}
}
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react-native/all",
"standard",
"prettier"
],
"plugins": [
"@typescript-eslint",
"react",
"react-native"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"project": "./tsconfig.json"
},
"settings": {
"react": {
"pragma": "React",
"version": "detect"
}
},
"globals": {
"__DEV__": false,
"jasmine": false,
"beforeAll": false,
"afterAll": false,
"beforeEach": false,
"afterEach": false,
"test": false,
"expect": false,
"describe": false,
"jest": false,
"it": false
},
"rules": {
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/indent": 0,
"@typescript-eslint/member-delimiter-style": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-object-literal-type-assertion": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"comma-dangle": 0,
"multiline-ternary": 0,
"no-undef": 0,
"no-unused-vars": 0,
"no-use-before-define": 0,
"no-global-assign": 0,
"quotes": 0,
"react-native/no-raw-text": 0,
"react/no-unescaped-entities": 0,
"react/prop-types": 0,
"space-before-function-paren": 0
}
}
}