forked from LedgerHQ/ledger-live
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
313 lines (313 loc) · 13.6 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
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
{
"name": "live-mobile",
"version": "3.59.0",
"private": true,
"scripts": {
"postinstall": "zx ./scripts/post.mjs",
"pod": "cd ios && bundle exec pod install --repo-update",
"start": "react-native start",
"conf": "react-native config",
"doc": "react-native doctor",
"bundle:ios": "react-native bundle --entry-file index.js --bundle-output main.jsbundle",
"bundle:ios:prod": "react-native bundle --entry-file index.js --dev false --bundle-output main.ios.jsbundle",
"bundle:android": "react-native bundle --platform android --entry-file index.js --bundle-output main.jsbundle",
"bundle:android:prod": "react-native bundle --platform android --entry-file index.js --dev false --bundle-output main.android.jsbundle",
"ios": "react-native run-ios --target ledgerlivemobile",
"android": "react-native run-android --appIdSuffix=debug --active-arch-only",
"android:gradleClean": "cd android && ./gradlew clean",
"android:bundleInDebug": "ANDROID_BUNDLE_IN_DEBUG=true pnpm android",
"gen-metafile": "zx ./scripts/gen-metafile.mjs",
"e2e:build": "pnpm detox build",
"e2e:ci": "zx ./scripts/e2e-ci.mjs",
"e2e:test": "export MOCK=1 && pnpm detox test",
"e2e:test:speculos": "export MOCK=0 && pnpm detox test --testMatch \"$(pwd)/e2e/specs/speculos/**/*.spec.ts\" --testTimeout=300000",
"prebeta": "bundle install",
"debug:detox": "pnpm detox test -c ios.manual currencies.spec.ts",
"ios:staging": "ENVFILE=.env.ios.staging react-native run-ios --mode Staging",
"preios:local:ipa": "bundle install",
"ios:local:ipa": "bundle exec fastlane ios local_ipa --env ios.staging",
"preios:ci:testflight": "bundle install",
"ios:ci:testflight": "bundle exec fastlane ios ci_testflight --env ios.release",
"ios:ci:pre": "bundle exec fastlane ios ci_testflight --env ios.prerelease",
"preios:ci:adhoc": "bundle install",
"ios:ci:adhoc": "bundle exec fastlane ios ci_adhoc --env ios.staging",
"preios:ci:nightly": "bundle install",
"ios:ci:nightly": "bundle exec fastlane ios ci_nightly --env ios.nightly",
"ios:device:add": "bundle exec fastlane ios add_ios_device",
"ios:sync:profiles": "bundle exec fastlane ios sync_ios_profiles",
"ios:bundle-visualizer": "react-native-bundle-visualizer --platform ios --dev false",
"preandroid:apk": "bundle install",
"android:apk:local": "bundle exec fastlane android apk_local --env android.staging",
"android:apk": "bundle exec fastlane android apk --env android.staging",
"preandroid:ci:playstore": "bundle install",
"android:ci:playstore": "bundle exec fastlane android ci_playstore --env android.release",
"android:ci:build": "bundle exec fastlane android ci_build --env android.release",
"android:ci:pre": "bundle exec fastlane android ci_playstore --env android.prerelease",
"android:ci:recover": "bundle exec fastlane android ci_recover --env android.prerelease",
"preandroid:ci:nightly": "bundle install",
"android:ci:nightly": "bundle exec fastlane android ci_nightly --env android.nightly",
"android:hermes:staging": "export HERMES_ENABLED_ANDROID=true && pnpm android:staging",
"android:staging": "cd android && ./gradlew assembleStagingRelease",
"android:install": "./scripts/install-and-run-apk.sh",
"android:clean": "$ANDROID_HOME/platform-tools/adb shell pm clear com.ledger.live",
"android:mock": "cd android && ENVFILE=.env.mock ./gradlew assembleStagingRelease",
"android:release": "./scripts/android-release.sh",
"android:bundle-visualizer": "react-native-bundle-visualizer --platform android --dev false",
"mock-android": "pnpm android:mock && pnpm android:install",
"staging-android": "pnpm android:staging && pnpm android:install",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\"",
"lint": "eslint src e2e --ext .js,.json,.ts,.tsx --cache",
"lint:fix": "pnpm lint --fix",
"typecheck": "tsc --noEmit",
"test:env": "node ./scripts/mobile-env-md.mjs",
"test": "pnpm test:jest:coverage && pnpm test:env",
"test:jest": "jest --maxWorkers=50%",
"test:jest:coverage": "pnpm test:jest --ci --coverage",
"sync-locales": "./scripts/sync-locales.sh",
"test-deep-links": "ws --spa ./deep-links-test-page.html",
"download-hermes-profile": "zx ./scripts/download-hermes-profile.mjs",
"e2e:loadConfig": "ts-node ./e2e/bridge/start-server.ts",
"check": "pnpm lint; pnpm typecheck",
"knip-check": "pnpm knip --directory ../.. -W apps/ledger-live-mobile",
"assets:replace": "zx ./scripts/replace-assets.mjs"
},
"dependencies": {
"@azure/core-asynciterator-polyfill": "1.0.2",
"@braze/react-native-sdk": "10.0.0",
"@formatjs/intl-locale": "3.4.5",
"@formatjs/intl-pluralrules": "5.2.12",
"@formatjs/intl-relativetimeformat": "11.2.12",
"@ledgerhq/coin-cosmos": "workspace:^",
"@ledgerhq/coin-elrond": "workspace:^",
"@ledgerhq/coin-evm": "workspace:^",
"@ledgerhq/coin-filecoin": "workspace:^",
"@ledgerhq/coin-framework": "workspace:^",
"@ledgerhq/coin-stacks": "workspace:^",
"@ledgerhq/devices": "workspace:*",
"@ledgerhq/domain-service": "workspace:^",
"@ledgerhq/errors": "workspace:^",
"@ledgerhq/ethereum-provider": "workspace:^",
"@ledgerhq/hw-ledger-key-ring-protocol": "workspace:^",
"@ledgerhq/hw-transport": "workspace:^",
"@ledgerhq/hw-transport-http": "workspace:^",
"@ledgerhq/icons-ui": "workspace:^",
"@ledgerhq/ledger-key-ring-protocol": "workspace:^",
"@ledgerhq/live-common": "workspace:^",
"@ledgerhq/live-config": "workspace:^",
"@ledgerhq/live-countervalues": "workspace:^",
"@ledgerhq/live-countervalues-react": "workspace:^",
"@ledgerhq/live-env": "workspace:^",
"@ledgerhq/live-network": "workspace:^",
"@ledgerhq/live-nft": "workspace:^",
"@ledgerhq/live-nft-react": "workspace:^",
"@ledgerhq/live-wallet": "workspace:^",
"@ledgerhq/logs": "workspace:^",
"@ledgerhq/native-ui": "workspace:^",
"@ledgerhq/react-native-hid": "workspace:^",
"@ledgerhq/react-native-hw-transport-ble": "workspace:^",
"@ledgerhq/types-cryptoassets": "workspace:^",
"@ledgerhq/types-devices": "workspace:^",
"@ledgerhq/types-live": "workspace:^",
"@likashefqet/react-native-image-zoom": "1.3.0",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-clipboard/clipboard": "1.13.2",
"@react-native-community/netinfo": "9.5.0",
"@react-native-community/slider": "4.5.0",
"@react-native-firebase/app": "14.12.0",
"@react-native-firebase/messaging": "14.12.0",
"@react-native-firebase/remote-config": "14.12.0",
"@react-native-masked-view/masked-view": "0.2.9",
"@react-native/gradle-plugin": "0.75.4",
"@react-native/metro-config": "0.75.4",
"@react-navigation/bottom-tabs": "6.5.20",
"@react-navigation/core": "6.4.16",
"@react-navigation/elements": "1.3.30",
"@react-navigation/material-top-tabs": "6.6.13",
"@react-navigation/native": "6.1.17",
"@react-navigation/native-stack": "6.9.26",
"@react-navigation/stack": "6.3.29",
"@reduxjs/toolkit": "2.0.1",
"@segment/analytics-react-native": "2.19.1",
"@segment/sovran-react-native": "0.4.5",
"@sentry/react-native": "5.24.3",
"@shopify/flash-list": "1.6.4",
"@shopify/react-native-performance": "4.1.2",
"@shopify/react-native-performance-navigation": "3.0.0",
"@tanstack/react-query": "5.28.9",
"asyncstorage-down": "4.2.0",
"bignumber.js": "9.1.2",
"buffer": "6.0.3",
"color": "4.2.3",
"d3-array": "2.3.3",
"d3-scale": "3.3.0",
"d3-shape": "1.3.7",
"date-fns": "2.30.0",
"expo": "51.0.39",
"expo-camera": "15.0.16",
"expo-crypto": "13.0.2",
"expo-file-system": "17.0.1",
"expo-image-loader": "4.7.0",
"expo-image-manipulator": "12.0.5",
"expo-keep-awake": "13.0.2",
"expo-modules-autolinking": "1.11.2",
"expo-modules-core": "1.12.26",
"fuse.js": "6.6.2",
"hoist-non-react-statics": "3.3.2",
"i18next": "20.6.1",
"invariant": "2.2.4",
"jotai": "2.10.1",
"json-rpc-2.0": "0.2.19",
"lodash": "4.17.21",
"lottie-react-native": "6.7.0",
"moment": "2.30.1",
"node-libs-react-native": "1.2.1",
"prando": "6.0.1",
"prop-types": "15.8.1",
"qrloop": "1.4.1",
"react": "18.3.1",
"react-i18next": "11.18.6",
"react-is": "18.3.1",
"react-native": "0.75.4",
"react-native-android-location-services-dialog-box": "2.8.2",
"react-native-animatable": "1.4.0",
"react-native-biometrics": "3.0.1",
"react-native-ble-plx": "3.2.1",
"react-native-config": "1.5.3",
"react-native-device-info": "11.1.0",
"react-native-easy-markdown": "2.0.0",
"react-native-extra-dimensions-android": "1.2.5",
"react-native-fast-crypto": "2.2.0",
"react-native-fast-image": "8.6.3",
"react-native-fast-pbkdf2": "0.3.1",
"react-native-gesture-handler": "2.18.1",
"react-native-get-random-values": "1.11.0",
"react-native-haptic-feedback": "2.2.0",
"react-native-image-crop-tools": "1.6.4",
"react-native-image-picker": "5.7.0",
"react-native-inappbrowser-reborn": "3.7.0",
"react-native-keyboard-aware-scroll-view": "0.9.5",
"react-native-keychain": "7.0.0",
"react-native-level-fs": "3.0.1",
"react-native-localize": "2.2.6",
"react-native-modal": "13.0.1",
"react-native-navigation-bar-color": "2.0.2",
"react-native-pager-view": "6.5.1",
"react-native-qrcode-svg": "6.1.1",
"react-native-randombytes": "3.6.1",
"react-native-reanimated": "3.16.1",
"react-native-restart": "0.0.24",
"react-native-safe-area-context": "4.10.5",
"react-native-screens": "3.33.0",
"react-native-share": "10.1.0",
"react-native-splash-screen": "3.2.0",
"react-native-startup-time": "2.1.0",
"react-native-svg": "13.14.0",
"react-native-tab-view": "3.5.2",
"react-native-tcp-socket": "6.0.6",
"react-native-udp": "4.1.7",
"react-native-url-polyfill": "1.3.0",
"react-native-vector-icons": "10.2.0",
"react-native-version-number": "0.3.6",
"react-native-video": "5.2.1",
"react-native-webview": "13.10.3",
"react-redux": "7.2.9",
"redux": "4.2.1",
"redux-actions": "2.6.5",
"reselect": "4.0.0",
"rn-fetch-blob": "0.12.0",
"rxjs": "7.8.1",
"semver": "7.5.4",
"storyly-react-native": "3.6.2",
"styled-components": "5.3.11",
"styled-system": "5.1.5",
"text-encoding-polyfill": "0.6.7",
"uuid": "8.3.2"
},
"devDependencies": {
"@babel/core": "7.24.3",
"@babel/plugin-proposal-export-namespace-from": "7.18.9",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@babel/plugin-proposal-optional-chaining": "7.21.0",
"@babel/plugin-transform-arrow-functions": "7.24.1",
"@babel/plugin-transform-class-static-block": "7.24.1",
"@babel/plugin-transform-named-capturing-groups-regex": "7.22.5",
"@babel/plugin-transform-shorthand-properties": "7.24.1",
"@babel/plugin-transform-template-literals": "7.24.1",
"@babel/preset-react": "7.24.1",
"@babel/runtime": "7.24.1",
"@jest/reporters": "29.7.0",
"@ledgerhq/hw-transport-node-speculos-http": "workspace:^",
"@ledgerhq/live-cli": "workspace:^",
"@ledgerhq/speculos-transport": "workspace:^",
"@ledgerhq/test-utils": "workspace:^",
"@react-native-community/cli": "14.1.0",
"@react-native-community/cli-platform-android": "14.1.0",
"@react-native-community/cli-platform-ios": "14.1.0",
"@react-native/babel-preset": "0.75.4",
"@react-native/dev-middleware": "0.75.4",
"@sentry/cli": "2.34.1",
"@swc/core": "1.4.11",
"@swc/jest": "0.2.36",
"@testing-library/jest-native": "5.4.3",
"@testing-library/react-native": "12.4.5",
"@types/body-parser": "1.19.5",
"@types/color": "3.0.6",
"@types/cors": "2.8.17",
"@types/d3-array": "2.3.0",
"@types/d3-scale": "3.3.5",
"@types/d3-shape": "3.1.6",
"@types/express": "4.17.21",
"@types/hoist-non-react-statics": "3.3.5",
"@types/invariant": "2.2.37",
"@types/jest": "29.5.12",
"@types/lodash": "4.17.0",
"@types/react": "18.2.73",
"@types/react-native-extra-dimensions-android": "1.2.3",
"@types/react-native-vector-icons": "6.4.18",
"@types/react-native-video": "5.0.20",
"@types/react-redux": "7.1.33",
"@types/react-test-renderer": "18.0.7",
"@types/redux-actions": "2.6.5",
"@types/semver": "7.5.8",
"@types/styled-components": "5.1.34",
"@types/styled-components-react-native": "5.2.5",
"@types/styled-system": "5.1.22",
"@types/uuid": "8.3.4",
"@types/ws": "8.5.10",
"babel-jest": "29.7.0",
"body-parser": "1.20.3",
"cors": "2.8.5",
"detox": "20.28.0",
"detox-allure2-adapter": "1.0.0-alpha.12",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-detox": "1.0.0",
"eslint-plugin-i18next": "6.0.3",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.0",
"expect": "27.5.1",
"express": "4.19.2",
"jest": "29.7.0",
"jest-allure2-reporter": "2.0.0",
"jest-circus": "29.7.0",
"jest-docblock": "29.7.0",
"jest-environment-node": "29.7.0",
"jest-metadata": "1.5.3",
"jest-sonar": "0.2.16",
"jetifier": "2.0.0",
"local-web-server": "4.2.1",
"metro-react-native-babel-preset": "0.77.0",
"msw": "2.2.13",
"react-native-bundle-visualizer": "3.1.3",
"react-native-debugger-open": "0.4.3",
"react-native-launch-arguments": "4.0.2",
"react-native-performance": "3.1.2",
"react-test-renderer": "18.3.1",
"strip-ansi": "6.0.1",
"ts-jest": "29.1.2",
"ts-node": "10.9.2",
"tslib": "2.6.2",
"ws": "7.5.10"
}
}