forked from GaloyMoney/blink-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
277 lines (277 loc) · 13 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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
{
"name": "GaloyApp",
"version": "1.0.1",
"private": true,
"scripts": {
"start": "react-native start",
"ios": "react-native run-ios",
"android": "react-native run-android",
"watchman:del": "if which watchman >/dev/null; then watchman watch-del $(pwd) >/dev/null; fi",
"tsc:check": "tsc -p .",
"eslint:check": "eslint . --ext .js,.ts,.tsx",
"eslint:fix": "eslint . --ext .js,.ts,.tsx --fix",
"check-code": "yarn tsc:check && yarn eslint:check && yarn check:translations && yarn check:codegen && yarn graphql-check",
"check:translations": "yarn update-translations && if git diff --name-only | grep -q 'app/i18n/i18n-types.ts'; then echo 'Error: app/i18n/i18n-types.ts has changes, run `yarn update-translations` and re-recommit' >&2; exit 1; fi",
"check:codegen": "yarn dev:codegen && if git diff --name-only | grep -q 'app/graphql/generated.ts'; then echo 'Error: app/graphql/generated.ts has changes, run `yarn dev:codegen` and re-recommit' >&2; exit 1; fi",
"test": "LOGLEVEL=warn jest --runInBand --forceExit",
"graphql-check": "npx -f @graphql-inspector/cli validate app/graphql/generated.gql $(grep 'schema:' codegen.yml | cut -d' ' -f2 | tr -d '\"') --apollo --noStrictFragments --method=GET --header=apollo-require-preflight",
"coverage": "jest --runInBand --coverage",
"fastlane-update": "(cd ios && bundle update fastlane && cd ../android && bundle update fastlane)",
"increment": "(cd ios && fastlane ios increment && cd ../android && echo 'fastlane android increment')",
"get-stories": "sb-rn-get-stories --config-path=./.storybook",
"storybook-watcher": "sb-rn-watcher --config-path=./.storybook",
"storybook": "NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 9001",
"sb-server": "NODE_OPTIONS=--openssl-legacy-provider yarn storybook-server",
"dev:codegen": "graphql-codegen --config codegen.yml && yarn dev:gengql",
"dev:gengql": "yarn node utils/create-gql.ts",
"adb": "adb reverse tcp:9090 tcp:9090 && adb reverse tcp:3000 tcp:3000 && adb reverse tcp:4000 tcp:4000 && adb reverse tcp:9001 tcp:9001 && adb reverse tcp:8081 tcp:8081 && adb reverse tcp:4002 tcp:4002 && adb reverse tcp:4455 tcp:4455",
"patch": "patch-package",
"postinstall": "jetify && yarn patch-package && if which pod >/dev/null; then (cd ios; pod install --allow-root --repo-update); fi",
"hack:types-react-native": "rimraf node_modules/@types/react-native/node_modules/@types",
"prepare": "npm-run-all patch hack:*",
"client:dev": "yalc add @galoymoney/client",
"yalc:check": "yalc check",
"update-translations": "yarn typesafe-i18n && yarn typesafe-i18n:export",
"typesafe-i18n": "typesafe-i18n --no-watch",
"typesafe-i18n:export": "node utils/export-language.mjs",
"fonts": "npx react-native-asset",
"apk:debug": "cd android && ./gradlew assembleDebug",
"start:appium": "appium",
"fix:appium": "yarn appium-doctor",
"e2e": "yarn test:e2e:android && yarn test:e2e:ios",
"test:get:device": "./bin/get-testing-device.sh",
"test:e2e:android": ". ./bin/get-testing-device.sh && E2E_DEVICE=\"android\" ./node_modules/.bin/wdio e2e/config/wdio.conf.js",
"test:sb:android": ". ./bin/get-testing-device.sh && E2E_DEVICE=\"android\" ./node_modules/.bin/wdio e2e/config/story-book.wdio.conf.js",
"test:e2e:ios": ". ./bin/get-testing-device.sh && E2E_DEVICE=\"ios\" ./node_modules/.bin/wdio e2e/config/wdio.conf.js",
"test:browserstack:android": "E2E_DEVICE=\"android\" ./node_modules/.bin/wdio e2e/config/browserstack.conf.js",
"test:browserstack:ios": "E2E_DEVICE=\"ios\" ./node_modules/.bin/wdio e2e/config/browserstack.conf.js",
"test-android": ". ./bin/get-testing-device.sh && E2E_DEVICE=\"android\" NO_RESET=true ./node_modules/.bin/wdio e2e/config/wdio.conf.js --spec e2e/config/single-test-runner.js",
"test-ios": ". ./bin/get-testing-device.sh && E2E_DEVICE=\"ios\" NO_RESET=true ./node_modules/.bin/wdio e2e/config/wdio.conf.js --spec e2e/config/single-test-runner.js",
"cache:clear": "watchman watch-del-all && rm -rf node_modules && rm -rf /tmp/metro-* && rm -rf ios/Pods && rm -rf ~/Library/Developer/Xcode/DerivedData",
"android:prepareAssets": "./android/gradlew clean -b ./android/build.gradle && npx 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",
"android:buildDebug": "yarn android:prepareAssets && ./android/gradlew -b ./android/build.gradle assembleDebug -Dorg.gradle.jvmargs='-Xmx4g -XX:MaxPermSize=512m'",
"ios:prepareAssets": "react-native bundle --entry-file index.js --bundle-output ./ios/main.jsbundle --assets-dest ./ios/ --platform ios --dev false",
"bundle-visualizer": "yarn run react-native-bundle-visualizer",
"splash": "yarn react-native generate-bootsplash --background \"#000\" --logo-width 288 app/assets/logo/app-logo-dark.svg",
"e2e:build": "detox build --configuration",
"e2e:test": "detox test --configuration",
"find-unused-ll-keys": "yarn node utils/find-unused-ll-keys.js"
},
"dependencies": {
"@apollo/client": "^3.9.11",
"@bitcoinerlab/secp256k1": "^1.1.1",
"@expo/react-native-action-sheet": "^4.0.1",
"@formatjs/intl-getcanonicallocales": "^2.3.0",
"@formatjs/intl-locale": "^3.4.5",
"@formatjs/intl-relativetimeformat": "^11.2.12",
"@galoymoney/client": "^0.2.9",
"@galoymoney/react-native-geetest-module": "^0.1.3",
"@react-native-async-storage/async-storage": "^1.23.1",
"@react-native-clipboard/clipboard": "^1.14.0",
"@react-native-community/geolocation": "^3.2.1",
"@react-native-firebase/analytics": "^19.2.2",
"@react-native-firebase/app": "^19.2.2",
"@react-native-firebase/app-check": "^19.2.2",
"@react-native-firebase/crashlytics": "^19.2.2",
"@react-native-firebase/messaging": "^19.2.2",
"@react-native-firebase/remote-config": "^19.2.2",
"@react-navigation/bottom-tabs": "^6.5.20",
"@react-navigation/native": "^6.1.17",
"@react-navigation/stack": "^6.3.29",
"@rneui/base": "^4.0.0-rc.8",
"@rneui/themed": "^4.0.0-rc.8",
"@ronradtke/react-native-markdown-display": "^8.0.0",
"@shopify/react-native-skia": "^1.2.3",
"apollo3-cache-persist": "^0.15.0",
"axios": "^1.6.8",
"bech32": "^2.0.0",
"bitcoinjs-lib": "^6.1.5",
"graphql": "^16.8.1",
"graphql-ws": "^5.16.0",
"intl": "^1.2.5",
"intl-pluralrules": "^2.0.1",
"js-lnurl": "0.6.0",
"js-sha256": "^0.11.0",
"libphonenumber-js": "^1.10.60",
"lnurl-pay": "^3.0.1",
"lodash.debounce": "^4.0.8",
"lodash.merge": "^4.6.2",
"node-libs-react-native": "^1.2.1",
"react": "18.2.0",
"react-content-loader": "^7.0.0",
"react-dom": "^18.0.0",
"react-native": "0.74.2",
"react-native-bootsplash": "^5.5.3",
"react-native-config": "^1.5.1",
"react-native-countdown-circle-timer": "^3.2.1",
"react-native-country-picker-modal": "^2.0.0",
"react-native-currency-input": "^1.1.1",
"react-native-device-info": "^10.13.1",
"react-native-error-boundary": "^1.2.4",
"react-native-fingerprint-scanner": "git+https://github.com/hieuvp/react-native-fingerprint-scanner.git#9cecc0db326471c571553ea85f7c016fee2f803d",
"react-native-gesture-handler": "^2.16.0",
"react-native-haptic-feedback": "^2.0.3",
"react-native-image-picker": "^7.1.2",
"react-native-in-app-review": "^4.3.3",
"react-native-inappbrowser-reborn": "^3.7.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-keychain": "^8.2.0",
"react-native-linear-gradient": "^2.8.2",
"react-native-localize": "^3.1.0",
"react-native-maps": "^1.14.0",
"react-native-modal": "^13.0.1",
"react-native-nfc-manager": "^3.14.14",
"react-native-permissions": "^4.1.5",
"react-native-push-notification": "^8.1.1",
"react-native-qrcode-svg": "^6.3.0",
"react-native-reanimated": "^3.11.0",
"react-native-reanimated-carousel": "^3.5.1",
"react-native-root-siblings": "^5.0.1",
"react-native-safe-area-context": "^4.9.0",
"react-native-screens": "^3.30.1",
"react-native-secure-key-store": "^2.0.9",
"react-native-securerandom": "^1.0.1",
"react-native-share": "^10.1.0",
"react-native-svg": "^15.1.0",
"react-native-toast-message": "^2.2.0",
"react-native-url-polyfill": "^2.0.0",
"react-native-vector-icons": "^10.0.3",
"react-native-view-shot": "^3.7.0",
"react-native-vision-camera": "^4.3.2",
"react-native-webln": "^0.1.11",
"react-native-webview": "^13.8.6",
"rn-qr-generator": "^1.4.0",
"typesafe-i18n": "^5.26.2",
"use-count-up": "^3.0.1",
"uuid": "^9.0.0",
"validator": "^13.9.0",
"victory-native": "^40.1.1",
"webln": "^0.3.2"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/preset-env": "^7.24.4",
"@babel/runtime": "^7.24.4",
"@graphql-codegen/add": "^5.0.2",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/client-preset": "^4.2.5",
"@graphql-codegen/typescript": "^4.0.6",
"@graphql-codegen/typescript-operations": "^4.2.0",
"@graphql-codegen/typescript-react-apollo": "^4.3.0",
"@graphql-codegen/typescript-resolvers": "^4.0.6",
"@graphql-inspector/cli": "^4.0.3",
"@graphql-tools/graphql-tag-pluck": "^8.3.0",
"@react-native-community/datetimepicker": "^7.7.0",
"@react-native-community/slider": "^4.5.2",
"@react-native/babel-preset": "0.75.0-main",
"@react-native/eslint-config": "^0.75.0-main",
"@react-native/metro-config": "^0.75.0-main",
"@react-native/typescript-config": "0.75.0-main",
"@storybook/addon-actions": "6.5.16",
"@storybook/addon-backgrounds": "6.5.16",
"@storybook/addon-controls": "6.5.16",
"@storybook/addon-essentials": "6.5.16",
"@storybook/addon-knobs": "6.4.0",
"@storybook/addon-links": "6.5.16",
"@storybook/addon-ondevice-actions": "6.5.2",
"@storybook/addon-ondevice-backgrounds": "6.5.2",
"@storybook/addon-ondevice-controls": "6.5.2",
"@storybook/addon-ondevice-knobs": "6.5.2",
"@storybook/addon-ondevice-notes": "6.5.2",
"@storybook/addons": "6.5.16",
"@storybook/docs-tools": "6.5.16",
"@storybook/eslint-config-storybook": "3.1.2",
"@storybook/linter-config": "3.1.2",
"@storybook/react": "7.0.7",
"@storybook/react-native": "6.5.2",
"@storybook/react-native-server": "6.5.3",
"@storybook/test-runner": "^0.9.4",
"@testing-library/jest-native": "^5.4.1",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/react-native": "^12.4.5",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@tsconfig/react-native": "^3.0.5",
"@types/jest": "^29.5.12",
"@types/lodash.debounce": "^4.0.9",
"@types/lodash.merge": "^4.6.7",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@types/react-native-share": "^3.3.8",
"@types/react-native-vector-icons": "^6.4.18",
"@types/react-test-renderer": "^18.0.0",
"@types/uuid": "^9.0.8",
"@types/validator": "^13.11.9",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"@typescript-eslint/typescript-estree": "^7.7.0",
"@wdio/cli": "^8.36.0",
"@wdio/devtools-service": "^8.36.0",
"@wdio/globals": "^8.36.0",
"@wdio/local-runner": "^8.36.0",
"@wdio/mocha-framework": "^8.36.0",
"@wdio/spec-reporter": "^8.36.0",
"babel-jest": "^29.6.3",
"babel-loader": "^9.1.2",
"babel-plugin-module-resolver": "^5.0.1",
"browserstack-local": "^1.5.1",
"cross-fetch": "^4.0.0",
"csv-parse": "^5.5.5",
"detox": "^20.20.2",
"dotenv": "^16.4.5",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.2.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-react-native": "^4.0.0",
"jest": "^29.7.0",
"jest-circus": "^29.4.1",
"jest-transform-stub": "^2.0.0",
"jest-ts-auto-mock": "^2.1.0",
"jetifier": "^2.0.0",
"jimp": "^0.22.12",
"jsqr": "^1.4.0",
"metro-config": "0.80.8",
"metro-react-native-babel-preset": "0.77.0",
"mocha": "^10.4.0",
"npm-run-all": "4.1.5",
"patch-package": "8.0.0",
"prettier": "^3.2.5",
"react-native-asset": "^2.0.1",
"react-native-bundle-visualizer": "^3.1.3",
"react-native-svg-transformer": "^1.3.0",
"react-test-renderer": "18.2.0",
"rimraf": "5.0.5",
"sharp": "^0.33.3",
"solidarity": "^3.0.4",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.1.2",
"tsx": "^4.7.2",
"ttsc": "^0.3.1",
"typescript": "^5.4.5",
"webdriverio": "^8.36.0",
"yalc": "^1.0.0-pre.53"
},
"peerDependencies": {
"solidarity": "^2.3.1"
},
"config": {
"react-native-storybook-loader": {
"searchDir": [
"app"
],
"pattern": "**/*.stories.tsx",
"outputFile": "./.storybook/storyLoader.ts"
}
},
"resolutions": {
"types-ramda": "0.29.4",
"ejs": "3.1.9"
},
"engines": {
"node": ">=18"
}
}