-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathpackage.json
More file actions
363 lines (363 loc) · 16.3 KB
/
Copy pathpackage.json
File metadata and controls
363 lines (363 loc) · 16.3 KB
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
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
{
"name": "ambire-mobile-wallet",
"main": "index.js",
"scripts": {
"android": "expo run:android",
"android:production": "APP_ENV=production yarn android",
"ios": "expo run:ios",
"ios:production": "APP_ENV=production yarn ios",
"web:webkit": "node scripts/clean-build-output.js webkit-dev && WEB_ENGINE=webkit WEBPACK_BUILD_OUTPUT_PATH=webkit-dev APP_ENV=development EXPO_OS=web expo start --web",
"web:next:webkit": "AMBIRE_NEXT=true yarn web:webkit",
"web:safari": "./scripts/safari-dev-build.sh",
"web:gecko": "node scripts/clean-build-output.js gecko-dev && WEB_ENGINE=gecko WEBPACK_BUILD_OUTPUT_PATH=gecko-dev APP_ENV=development EXPO_OS=web expo start --web",
"web:benzin": "node scripts/clean-build-output.js benzin-dev && WEBPACK_BUILD_OUTPUT_PATH=benzin-dev APP_ENV=development BENZIN=true RCT_METRO_PORT=3006 WEB_PORT=3000 EXPO_OS=web expo start --web",
"web:legends": "node scripts/clean-build-output.js legends-dev && LEGENDS=true WEBPACK_BUILD_OUTPUT_PATH=legends-dev APP_ENV=development RCT_METRO_PORT=3006 WEB_PORT=3000 EXPO_OS=web expo start --web",
"start": "expo start --dev-client",
"start:clean": "expo start --clear",
"start:production": "APP_ENV=production yarn start",
"start:clean:production": "APP_ENV=production yarn start:clean",
"build:inject:mobile-ota-config": "bash ./scripts/inject-mobile-ota-config.sh",
"build:ios:simulator": "yarn build:inject:mobile-ota-config && yarn build:webview && APP_ENV=production xcodebuild -workspace ios/ambire.xcworkspace -scheme Ambire -configuration Release -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' -derivedDataPath ios/build",
"build:ios:simulator:install": "xcrun simctl install booted ios/build/Build/Products/Release-iphonesimulator/Ambire.app",
"build:ios:archive": "yarn build:inject:mobile-ota-config && yarn build:webview && APP_ENV=production xcodebuild -workspace ios/ambire.xcworkspace -scheme Ambire -configuration Release -sdk iphoneos -destination 'generic/platform=iOS' -archivePath ios/build/Ambire.xcarchive -derivedDataPath ios/build archive",
"build:ios:export": "xcodebuild -exportArchive -archivePath ios/build/Ambire.xcarchive -exportPath ios/build/ipa -exportOptionsPlist ios/ExportOptions.plist",
"build:ios:export-for-testing": "xcodebuild -exportArchive -archivePath ios/build/Ambire.xcarchive -exportPath ios/build/ipa-for-testing -exportOptionsPlist ios/ExportOptions-Development.plist",
"build:ios:production": "yarn build:ios:archive && yarn build:ios:export",
"build:ios:production-for-testing": "yarn build:ios:archive && yarn build:ios:export-for-testing",
"build:android:production:apk": "yarn build:inject:mobile-ota-config && yarn build:webview && cd android && APP_ENV=production ./gradlew assembleRelease",
"build:android:production:apk:install": "yarn build:android:production:apk && adb shell am force-stop com.ambire.wallet && adb install -r android/app/build/outputs/apk/release/app-release.apk",
"build:android:production:aab": "yarn build:inject:mobile-ota-config && yarn build:webview && cd android && APP_ENV=production ./gradlew bundleRelease",
"build:web:webkit": "node scripts/clean-build-output.js webkit-prod && APP_ENV=production WEB_ENGINE=webkit WEBPACK_BUILD_OUTPUT_PATH=webkit-prod expo export:web",
"build:web:webkit:generate-policy": "LAVAMOAT_GENERATE_POLICY=true yarn build:web:webkit",
"build:web:next:webkit": "AMBIRE_NEXT=true yarn build:web:webkit",
"build:web:safari": "./scripts/safari-prod-build.sh",
"build:web:gecko": "node scripts/clean-build-output.js gecko-prod && APP_ENV=production WEB_ENGINE=gecko WEBPACK_BUILD_OUTPUT_PATH=gecko-prod expo export:web",
"build:extensions": "sh ./scripts/build-extensions.sh",
"build:extensions:gecko": "sh ./scripts/build-extensions.sh --gecko",
"build:extensions:webkit": "sh ./scripts/build-extensions.sh --webkit",
"build:extensions:next:webkit": "AMBIRE_NEXT=true yarn build:extensions:webkit",
"build:webview": "WEB_ENGINE=webview npx webpack --config src/mobile/modules/webview/services/webpack.webview.config.js",
"dev:webview": "NODE_ENV=development WEB_ENGINE=webview npx webpack serve --config src/mobile/modules/webview/services/webpack.webview.config.js",
"build:web:benzin": "node scripts/clean-build-output.js benzin-prod && APP_ENV=production BENZIN=true WEBPACK_BUILD_OUTPUT_PATH=benzin-prod expo export:web",
"build:web:legends": "node scripts/clean-build-output.js legends-prod && LEGENDS=true WEBPACK_BUILD_OUTPUT_PATH=legends-prod expo export:web",
"export:web:webkit:sourcemaps": "sh ./scripts/export-source-maps.sh webkit",
"export:web:gecko:sourcemaps": "sh ./scripts/export-source-maps.sh gecko",
"publish:ota:ios": "bash ./scripts/publish-ota.sh ios",
"publish:ota:android": "bash ./scripts/publish-ota.sh android",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"expo:doctor": "expo doctor",
"expo:upgrade": "expo upgrade",
"expo:install": "expo install",
"test": "jest --config=./jest.config.js --passWithNoTests",
"extension:type:check": "tsc --noEmit --project tsconfig.typecheck-extension.json",
"extension:type:check-new": "yarn extension:type:check | yarn tsc-baseline check",
"extension:type:update": "yarn extension:type:check | yarn tsc-baseline save && node scripts/patchBaseline.js",
"setup": "sh ./scripts/setup.sh",
"setup:ci": "yarn install --frozen-lockfile && yarn allow-scripts && yarn patch-package"
},
"engines": {
"node": ">=24.13.0 <25.0.0",
"yarn": ">=1.22.22 <2.0.0"
},
"packageManager": "yarn@1.22.22",
"dependencies": {
"@ambire/signature-validator": "1.5.0",
"@corpus-core/colibri-stateless": "1.1.30",
"@dnd-kit/core": "6.3.1",
"@dnd-kit/modifiers": "9.0.0",
"@dnd-kit/sortable": "10.0.0",
"@dnd-kit/utilities": "3.2.2",
"@ethereumjs/rlp": "5.0.2",
"@ethersproject/providers": "5.5.2",
"@ethersproject/shims": "5.7.0",
"@expo-google-fonts/geist-mono": "0.4.1",
"@expo-google-fonts/poppins": "0.2.2",
"@expo-google-fonts/roboto": "0.2.3",
"@expo/vector-icons": "15.0.3",
"@fortawesome/fontawesome-free": "6.6.0",
"@fortawesome/fontawesome-svg-core": "6.6.0",
"@fortawesome/free-brands-svg-icons": "6.6.0",
"@fortawesome/free-solid-svg-icons": "6.6.0",
"@fortawesome/react-fontawesome": "0.2.2",
"@gorhom/portal": "1.0.14",
"@keystonehq/animated-qr": "0.10.0",
"@keystonehq/bc-ur-registry-eth": "0.22.1",
"@ledgerhq/context-module": "1.15.0",
"@ledgerhq/device-management-kit": "1.2.0",
"@ledgerhq/device-signer-kit-ethereum": "1.12.0",
"@ledgerhq/device-transport-kit-react-native-ble": "1.3.2",
"@ledgerhq/device-transport-kit-react-native-hid": "1.0.3",
"@ledgerhq/device-transport-kit-speculos": "1.2.0",
"@ledgerhq/device-transport-kit-web-hid": "1.2.3",
"@lottiefiles/dotlottie-react": "0.18.3",
"@metamask/eth-sig-util": "8.2.0",
"@metamask/obs-store": "6.0.2",
"@ngraveio/bc-ur": "1.1.13",
"@noble/hashes": "1.8.0",
"@raugfer/jazzicon": "1.0.6",
"@react-native-async-storage/async-storage": "3.0.2",
"@react-native-community/netinfo": "12.0.1",
"@react-native-masked-view/masked-view": "0.3.2",
"@reown/walletkit": "1.5.5",
"@safe-global/api-kit": "4.2.0",
"@sentry/browser": "10.37.0",
"@sentry/react": "10.37.0",
"@signinwithethereum/siwe": "4.2.0",
"@tradle/react-native-http": "2.0.1",
"@trezor/connect-mobile": "9.7.3",
"@trezor/connect-plugin-ethereum": "9.1.5",
"@trezor/connect-webextension": "9.7.2",
"@trezor/trezor-user-env-link": "1.0.0",
"@types/js-yaml": "4.0.9",
"@types/react-dom": "19.1.7",
"@types/w3c-web-hid": "1.0.6",
"@walletconnect/core": "2.23.9",
"@walletconnect/react-native-compat": "2.23.9",
"@walletconnect/utils": "2.23.9",
"aes-js": "3.1.2",
"babel-jest": "29.7.0",
"babel-plugin-module-resolver": "4.1.0",
"babel-plugin-transform-inline-environment-variables": "0.4.4",
"babel-preset-expo": "54.0.10",
"bip39": "3.1.0",
"bip44-constants": "128.0.0",
"browserify-zlib": "0.2.0",
"buffer": "6.0.3",
"clean-webpack-plugin": "4.0.0",
"crypto-browserify": "3.12.1",
"crypto-js": "4.2.0",
"debounce": "1.2.1",
"dkim": "0.7.2",
"dkim-key": "1.3.0",
"dkim-signature": "1.3.0",
"dns-js": "0.3.1",
"dns.js": "1.0.1",
"eth-block-tracker": "5.0.1",
"eth-crypto": "2.8.0",
"eth-json-rpc-filters": "6.0.0",
"eth-rpc-errors": "4.0.3",
"ethers": "6.14.1",
"events": "3.3.0",
"expo": "54.0.32",
"expo-application": "7.0.8",
"expo-asset": "12.0.12",
"expo-blur": "15.0.8",
"expo-camera": "17.0.10",
"expo-clipboard": "8.0.8",
"expo-constants": "18.0.13",
"expo-device": "8.0.10",
"expo-document-picker": "14.0.8",
"expo-font": "14.0.11",
"expo-glass-effect": "0.1.9",
"expo-image-picker": "17.0.11",
"expo-intent-launcher": "13.0.8",
"expo-linear-gradient": "15.0.8",
"expo-linking": "8.0.11",
"expo-local-authentication": "17.0.8",
"expo-localization": "17.0.8",
"expo-secure-store": "15.0.8",
"expo-sharing": "14.0.8",
"expo-splash-screen": "31.0.13",
"expo-status-bar": "3.0.9",
"fuse.js": "7.1.0",
"gridplus-sdk": "4.0.0",
"hash-wasm": "4.12.0",
"https-browserify": "1.0.0",
"i18next": "21.10.0",
"intro.js": "7.2.0",
"intro.js-react": "1.0.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-expo": "54.0.16",
"js-yaml": "4.1.0",
"keycard-sdk": "4.0.0",
"koa-compose": "4.1.0",
"lodash": "4.18.1",
"loglevel": "1.9.2",
"lottie-ios": "4.5.0",
"lottie-react": "2.4.1",
"lottie-react-native": "7.3.5",
"lru-cache": "6.0.0",
"mini-css-extract-plugin": "2.7.6",
"nanoid": "4.0.0",
"ox": "0.8.9",
"pako": "2.1.0",
"path-browserify": "0.0.0",
"process": "0.11.10",
"purify-ts": "2.1.0",
"qr-scanner": "1.4.2",
"querystring-es3": "0.2.1",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-dropzone": "14.2.3",
"react-fast-compare": "3.2.2",
"react-hook-form": "7.71.1",
"react-i18next": "11.18.6",
"react-idle-timer": "5.7.2",
"react-native": "0.81.5",
"react-native-app-intro-slider": "4.0.4",
"react-native-ble-plx": "3.5.1",
"react-native-confirmation-code-field": "7.3.1",
"react-native-error-boundary": "1.2.3",
"react-native-gesture-handler": "2.28.0",
"react-native-get-random-values": "1.11.0",
"react-native-keyboard-controller": "1.20.7",
"react-native-linear-gradient": "2.6.2",
"react-native-mmkv": "4.1.2",
"react-native-modalize": "2.1.1",
"react-native-nfc-manager": "3.17.2",
"react-native-nitro-modules": "0.33.9",
"react-native-performance": "2.1.0",
"react-native-qrcode-svg": "6.3.15",
"react-native-quick-base64": "2.2.2",
"react-native-quick-crypto": "1.0.15",
"react-native-reanimated": "4.1.1",
"react-native-reanimated-carousel": "4.0.3",
"react-native-reanimated-dnd": "2.0.0",
"react-native-safe-area-context": "5.6.2",
"react-native-screens": "4.16.0",
"react-native-stallion": "2.3.2",
"react-native-svg": "15.12.1",
"react-native-web": "0.21.2",
"react-native-webview": "13.15.0",
"react-native-worklets": "0.5.1",
"react-refresh": "0.18.0",
"react-router-dom": "6.30.3",
"react-router-native": "6.30.3",
"react-tooltip": "5.26.3",
"readable-stream": "1.0.33",
"rxjs": "7.8.2",
"scrypt-js": "3.0.1",
"secp256k1": "5.0.1",
"setimmediate": "1.0.5",
"stream-browserify": "3.0.0",
"stream-http": "3.2.0",
"string_decoder": "0.10.31",
"swiper": "12.1.2",
"timers-browserify": "1.4.2",
"tldts": "7.0.17",
"toggle-switch-react-native": "3.3.0",
"ts-toolbelt": "9.6.0",
"tslib": "2.8.1",
"tv4": "1.3.0",
"url": "0.10.3",
"util": "0.10.4",
"uuid": "9.0.0",
"validator": "13.7.0",
"viem": "2.45.2",
"vm-browserify": "0.0.4",
"webextension-polyfill": "0.10.0"
},
"devDependencies": {
"@babel/core": "7.28.6",
"@babel/plugin-proposal-decorators": "7.28.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@babel/plugin-proposal-optional-chaining": "7.21.0",
"@babel/plugin-transform-class-properties": "7.28.6",
"@babel/plugin-transform-export-namespace-from": "7.27.1",
"@babel/plugin-transform-private-methods": "7.28.6",
"@babel/plugin-transform-typescript": "7.28.6",
"@babel/preset-env": "7.28.6",
"@babel/preset-react": "7.28.5",
"@babel/preset-typescript": "7.28.5",
"@babel/runtime": "7.28.6",
"@borislav.itskov/schnorrkel.js": "2.0.85",
"@expo/webpack-config": "19.0.1",
"@lavamoat/allow-scripts": "3.4.2",
"@lavamoat/preinstall-always-fail": "2.1.1",
"@lavamoat/webpack": "1.5.8",
"@lifi/types": "17.46.0",
"@nomicfoundation/hardhat-chai-matchers": "2.0.8",
"@nomicfoundation/hardhat-ethers": "3.0.8",
"@nomicfoundation/hardhat-verify": "2.0.14",
"@openzeppelin/contracts": "4.9.6",
"@sentry/cli": "3.1.0",
"@types/aes-js": "3.1.4",
"@types/chrome": "0.0.212",
"@types/crypto-js": "4.1.1",
"@types/debounce": "1.2.1",
"@types/firefox-webext-browser": "109.0.0",
"@types/hdkey": "0.7.1",
"@types/jest": "29.5.14",
"@types/koa-compose": "3.2.5",
"@types/lodash": "4.17.25",
"@types/pako": "2.0.4",
"@types/react": "19.1.10",
"@types/react-test-renderer": "17.0.1",
"@types/uuid": "9.0.0",
"@types/validator": "13.7.10",
"@typescript-eslint/eslint-plugin": "8.59.2",
"@typescript-eslint/parser": "8.59.2",
"babel-loader": "10.0.0",
"chai": "4.3.7",
"chai-assertions-count": "1.0.2",
"copy-webpack-plugin": "10.2.4",
"css-loader": "7.1.2",
"dotenv": "16.6.1",
"eslint": "9.39.4",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "7.1.1",
"globals": "15.9.0",
"hardhat": "2.24.1",
"hardhat-gas-reporter": "1.0.10",
"html-webpack-plugin": "5.6.0",
"node-polyfill-webpack-plugin": "2.0.1",
"patch-package": "8.0.0",
"postinstall-postinstall": "2.1.0",
"prettier": "3.3.3",
"react-native-dotenv": "3.4.7",
"sass": "1.79.2",
"sass-loader": "16.0.2",
"solc": "0.8.19",
"stallion-cli": "2.5.0",
"style-loader": "4.0.0",
"ts-jest": "29.4.1",
"ts-node": "10.9.1",
"tsc-baseline": "1.9.0",
"typescript": "5.9.3",
"webpack": "5.84.1",
"webpack-bundle-analyzer": "5.3.0",
"webpack-cli": "5.1.1",
"webpack-dev-server": "4.15.0",
"webpack-sources": "3.2.3",
"webpack-target-webextension": "1.1.2"
},
"resolutions": {
"elliptic": "^6.6.1",
"browserslist": "^4.23.0",
"cipher-base": "^1.0.6",
"@safe-global/safe-deployments": "1.37.56",
"@safe-global/safe-modules-deployments": "3.0.4"
},
"private": true,
"lavamoat": {
"allowScripts": {
"$root$": false,
"@lavamoat/preinstall-always-fail": false,
"@trezor/connect-webextension>@trezor/connect>@trezor/protobuf>protobufjs": false,
"@trezor/connect-webextension>@trezor/connect>@trezor/transport>usb": false,
"@trezor/connect-webextension>@trezor/connect>@trezor/utxo-lib>blake-hash": false,
"@trezor/connect-webextension>@trezor/connect>@trezor/utxo-lib>tiny-secp256k1": false,
"@trezor/connect-mobile>@trezor/connect>@trezor/protobuf>protobufjs": false,
"@trezor/connect-mobile>@trezor/connect>@trezor/transport>usb": false,
"@trezor/connect-mobile>@trezor/connect>@trezor/utxo-lib>blake-hash": false,
"@trezor/connect-mobile>@trezor/connect>@trezor/utxo-lib>tiny-secp256k1": false,
"@trezor/connect-mobile>@trezor/connect>@trezor/blockchain-link>@stellar/stellar-sdk": false,
"eth-crypto>eccrypto": false,
"eth-crypto>eccrypto>secp256k1": false,
"eth-crypto>ethereumjs-util>ethereum-cryptography>keccak": false,
"eth-crypto>ethereumjs-util>ethereum-cryptography>secp256k1": false,
"postinstall-postinstall": false,
"secp256k1": false,
"@trezor/connect-webextension>@trezor/connect>@trezor/blockchain-link>@stellar/stellar-sdk": false,
"@sentry/cli": true,
"@keystonehq/bc-ur-registry-eth>hdkey>secp256k1": false,
"hardhat>keccak": false,
"keycard-sdk>@nonth/pcsclite": false
}
}
}