-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
231 lines (231 loc) · 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
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
{
"name": "ourowallet",
"version": "1.0.1",
"license": "(MIT)",
"private": true,
"scripts": {
"start": "react-native start",
"ios": "react-native run-ios",
"android": "react-native run-android",
"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",
"graphql-check": "npx -f @graphql-inspector/cli validate app/graphql/generated.gql https://raw.githubusercontent.com/GaloyMoney/galoy/main/src/graphql/main/schema.graphql --apollo --noStrictFragments --method=GET",
"coverage": "jest --runInBand --coverage",
"ios-session": "(cd ios && fastlane spaceauth -u [email protected])",
"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",
"patch": "patch-package",
"postinstall": "jetify && yarn patch-package && if which pod >/dev/null; then (cd ios; pod install); 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": "tsx utils/export-language.ts",
"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:e2e:android:auth": ". ./bin/get-testing-device.sh && E2E_DEVICE=\"android\" ./node_modules/.bin/wdio e2e/config/wdio.conf.js --spec e2e/config/auth-test-runner.js",
"test:e2e:ios:auth": ". ./bin/get-testing-device.sh && E2E_DEVICE=\"ios\" ./node_modules/.bin/wdio e2e/config/wdio.conf.js --spec e2e/config/auth-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"
},
"dependencies": {
"@apollo/client": "^3.7.7",
"@galoymoney/client": "^0.1.77",
"@galoymoney/react-native-geetest-module": "^0.1.3",
"@react-native-async-storage/async-storage": "^1.17.11",
"@react-native-clipboard/clipboard": "^1.11.1",
"@react-native-firebase/analytics": "14",
"@react-native-firebase/app": "14",
"@react-native-firebase/crashlytics": "14",
"@react-native-firebase/messaging": "14",
"@react-navigation/bottom-tabs": "^6.5.4",
"@react-navigation/native": "^6.1.3",
"@react-navigation/stack": "^6.3.12",
"@rneui/base": "^4.0.0-rc.7",
"@rneui/themed": "^4.0.0-rc.7",
"apollo3-cache-persist": "^0.14.1",
"bech32": "^2.0.0",
"bitcoinjs-lib": "^6.0.2",
"bolt11": "^1.4.0",
"crypto-browserify": "^3.12.0",
"expo": ">=48.0.0-0 <49.0.0",
"graphql": "^16.5.0",
"graphql-ws": "^5.11.3",
"intl": "^1.2.5",
"intl-pluralrules": "^1.3.1",
"js-lnurl": "0.5.1",
"js-sha256": "^0.9.0",
"jwt-decode": "^3.1.2",
"lnurl-pay": "2.1.1",
"lodash.merge": "^4.6.2",
"moment": "^2.29.3",
"node-libs-react-native": "^1.2.1",
"react": "18.2.0",
"react-content-loader": "^6.2.0",
"react-dom": "^18.0.0",
"react-native": "0.71.2",
"react-native-countdown-circle-timer": "^3.1.0",
"react-native-currency-input": "^1.0.1",
"react-native-device-info": "^10.3.0",
"react-native-error-boundary": "^1.2.2",
"react-native-fingerprint-scanner": "git+https://github.com/hieuvp/react-native-fingerprint-scanner.git#9cecc0db326471c571553ea85f7c016fee2f803d",
"react-native-gesture-handler": "^2.9.0",
"react-native-haptic-feedback": "^2.0.2",
"react-native-image-crop-picker": "^0.39.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-linear-gradient": "^2.6.2",
"react-native-localize": "^2.2.2",
"react-native-maps": "^1.4.0",
"react-native-modal": "^13.0.1",
"react-native-phone-number-input": "^2.1.0",
"react-native-qrcode-svg": "^6.2.0",
"react-native-reanimated": "^2.14.4",
"react-native-reanimated-carousel": "^3.3.0",
"react-native-root-siblings": "^4.1.1",
"react-native-safe-area-context": "^4.5.0",
"react-native-screens": "^3.19.0",
"react-native-secure-key-store": "^2.0.9",
"react-native-share": "^8.1.0",
"react-native-svg": "^13.8.0",
"react-native-toast-message": "^2.1.5",
"react-native-vector-icons": "^9.1.0",
"react-native-vision-camera": "^2.15.4",
"react-native-walkthrough-tooltip": "^1.4.0",
"rn-qr-generator": "^1.2.1",
"subscriptions-transport-ws": "^0.11.0",
"typesafe-i18n": "^5.24.3",
"url": "^0.11.0",
"victory-native": "^36.5.0",
"vision-camera-code-scanner": "^0.2.0"
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.20.2",
"@babel/runtime": "^7.20.13",
"@graphql-codegen/add": "^4.0.0",
"@graphql-codegen/cli": "^3.0.0",
"@graphql-codegen/client-preset": "^2.0.0",
"@graphql-codegen/typescript": "^3.0.0",
"@graphql-codegen/typescript-operations": "^3.0.0",
"@graphql-codegen/typescript-react-apollo": "^3.3.7",
"@graphql-inspector/cli": "^3.4.6",
"@graphql-tools/graphql-tag-pluck": "^7.4.6",
"@react-native-community/datetimepicker": "^6.7.3",
"@react-native-community/eslint-config": "^3.2.0",
"@react-native-community/slider": "^4.4.2",
"@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": "6.5.16",
"@storybook/react-native": "6.5.2",
"@storybook/react-native-server": "6.5.2",
"@storybook/test-runner": "^0.9.4",
"@testing-library/jest-native": "^5.4.1",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/react-native": "^11.5.1",
"@tsconfig/react-native": "^2.0.3",
"@types/jest": "^29.4.2",
"@types/lodash.merge": "^4.6.7",
"@types/react": "^18.0.33",
"@types/react-native": "0.71.1",
"@types/react-native-share": "^3.3.3",
"@types/react-native-vector-icons": "^6.4.13",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.50.0",
"@typescript-eslint/typescript-estree": "^5.51.0",
"@wdio/cli": "^7.19.7",
"@wdio/devtools-service": "^8.3.3",
"@wdio/globals": "^8.3.2",
"@wdio/local-runner": "^7.19.7",
"@wdio/mocha-framework": "^7.19.7",
"@wdio/spec-reporter": "^7.25.1",
"babel-jest": "^29.4.1",
"babel-loader": "^9.1.2",
"babel-plugin-module-resolver": "^5.0.0",
"browserstack-local": "^1.5.1",
"cross-fetch": "^3.1.5",
"csv-parse": "^5.3.5",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-react-native": "^4.0.0",
"jest": "^29.3.1",
"jest-circus": "^29.4.1",
"jest-transform-stub": "^2.0.0",
"jest-ts-auto-mock": "^2.1.0",
"jetifier": "^2.0.0",
"metro-config": "0.75.0",
"mocha": "^10.2.0",
"npm-run-all": "4.1.5",
"patch-package": "6.5.1",
"prettier": "^2.8.7",
"react-native-asset": "^2.0.1",
"react-native-svg-transformer": "^1.0.0",
"react-test-renderer": "18.2.0",
"rimraf": "4.1.2",
"solidarity": "^3.0.0",
"ts-auto-mock": "^3.6.4",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.2",
"tsx": "^3.12.6",
"ttypescript": "^1.5.15",
"typescript": "^4.9.5",
"webdriverio": "8.3.2",
"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"
}
}
}