-
Notifications
You must be signed in to change notification settings - Fork 390
/
package.json
253 lines (253 loc) · 9.67 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
{
"name": "@onekeyhq/app-monorepo",
"packageManager": "[email protected]",
"private": true,
"version": "1.0.0",
"workspaces": [
"apps/*",
"packages/*"
],
"engines": {
"node": ">=20"
},
"scripts": {
"setup:env": "node -e \"const fs=require('fs');if(!fs.existsSync('.env'))fs.copyFileSync('.env.example','.env');\"",
"postinstall": "node development/scripts/postinstall.js",
"copy:inject": "node development/scripts/copy-injected.js",
"app:desktop": "yarn workspace @onekeyhq/desktop start",
"app:ext": "yarn workspace @onekeyhq/ext start:v3",
"app:ext:proxy": "yarn workspace @onekeyhq/ext start:v3:proxy",
"app:ext:build": "yarn workspace @onekeyhq/ext build:v3",
"app:ext:build:all": "yarn workspace @onekeyhq/ext build:all:v3",
"app:web": "yarn app:web:no-proxy",
"app:web:3030": "WEB_PORT=3030 yarn app:web:no-proxy",
"app:web:proxy": "yarn workspace @onekeyhq/web start:proxy",
"app:web:no-proxy": "yarn workspace @onekeyhq/web start",
"app:web:build": "yarn workspace @onekeyhq/web build",
"app:web-embed": "yarn workspace @onekeyhq/web-embed start",
"app:web-embed:build": "yarn workspace @onekeyhq/web-embed build",
"app:native-bundle": "yarn workspace @onekeyhq/mobile native-bundle",
"app:split-bundle": "yarn workspace @onekeyhq/mobile split-bundle",
"app:ios": "yarn workspace @onekeyhq/mobile ios",
"app:ios:device": "yarn workspace @onekeyhq/mobile ios:device",
"app:android": "yarn workspace @onekeyhq/mobile android",
"app:android:device": "yarn workspace @onekeyhq/mobile android:device",
"icon:build": "yarn workspace @onekeyhq/components icon:build",
"fetch:locale": "yarn workspace @onekeyhq/shared fetch:locale",
"clean": "yarn workspaces foreach -A -p run clean && node ./development/scripts/clean_workspace.js",
"clean:cache": "yarn workspaces foreach -A run clean:build",
"_tsc": "node ./development/lint/ts",
"reinstall": "yarn clean && yarn install",
"_lint": "node ./development/lint/eslint",
"_electron": "node ./development/lint/src-electron",
"_lang": "node ./development/lint/lang",
"_folder": "yarn workspaces foreach -A -p --topological-dev run _folderslint",
"lint:project": "yarn _tsc && yarn _lint && yarn _electron && yarn _folder && yarn _lang",
"lint": "yarn lint:project",
"lint:only": "npx eslint . --ext .ts,.tsx --fix --cache --cache-location \"$(yarn config get cacheFolder)\"",
"tsc:only": "npx tsc --noEmit --tsBuildInfoFile \"$(yarn config get cacheFolder)\"/.app-mono-ts-cache --pretty",
"test": "yarn jest"
},
"dependencies": {
"@aivenio/tsc-output-parser": "^2.1.1",
"@alephium/web3": "^1.5.2",
"@benfen/bfc.js": "0.2.7",
"@expo/plist": "^0.1.3",
"@glif/filecoin-rpc-client": "3.0.2",
"@mysten/sui": "1.13.0",
"@ngraveio/bc-ur": "^1.1.13",
"@onekeyfe/cross-inpage-provider-core": "2.2.6",
"@onekeyfe/cross-inpage-provider-errors": "2.2.6",
"@onekeyfe/cross-inpage-provider-injected": "2.2.6",
"@onekeyfe/cross-inpage-provider-types": "2.2.6",
"@onekeyfe/extension-bridge-hosted": "2.2.6",
"@onekeyfe/hd-ble-sdk": "1.0.16",
"@onekeyfe/hd-core": "1.0.16",
"@onekeyfe/hd-shared": "1.0.16",
"@onekeyfe/hd-transport": "1.0.16",
"@onekeyfe/hd-web-sdk": "1.0.16",
"@onekeyfe/onekey-cross-webview": "2.2.6",
"@polkadot/extension-inject": "0.46.6",
"@polkadot/types": "11.3.1",
"@polkadot/util-crypto": "12.6.2",
"@sentry/browser": "8.42.0",
"@sentry/core": "8.42.0",
"@sentry/react": "8.42.0",
"@substrate/txwrapper-polkadot": "7.5.1",
"@tamagui/animations-moti": "1.108.0",
"@tamagui/config": "1.108.0",
"@tamagui/static": "1.108.0",
"@tamagui/themes": "1.108.0",
"@tamagui/toast": "1.108.0",
"@ungap/structured-clone": "^1.2.0",
"@vespaiach/axios-fetch-adapter": "^0.3.1",
"@wagmi/core": "2.6.9",
"@walletconnect/modal": "2.6.2",
"@walletconnect/universal-provider": "2.11.2",
"@walletconnect/web3wallet": "1.10.2",
"bech32": "^2.0.0",
"biginteger": "^1.0.3",
"bignumber.js": "9.1.2",
"bip174": "3.0.0-rc.1",
"browserify-zlib": "^0.2.0",
"crypto-browserify": "^3.12.0",
"custom-electron-titlebar": "4.2.8",
"ejs-loader": "^0.5.0",
"electron-root-path": "^1.1.0",
"electron-taskbar-badge": "1.1.2",
"eslint": "^8.25.0",
"ethersV6": "npm:ethers@^6.11.1",
"event-source-polyfill": "^1.0.31",
"expiry-map": "^2.0.0",
"expo": "50.0.20",
"jotai": "^2.5.0",
"js-md5": "^0.8.3",
"lightweight-charts": "^3.8.0",
"long": "^5.2.1",
"lru-cache": "^10.2.0",
"memoizee": "^0.4.15",
"mipd": "^0.0.7",
"mobile-detect": "^1.4.5",
"natsort": "^2.0.3",
"node-gyp": "^10.2.0",
"openpgp": "^5.11.2",
"prettier": "^2.8.1",
"punycode": "^2.3.1",
"react": "18.2.0",
"react-beautiful-dnd": "13.1.1",
"react-dom": "18.2.0",
"react-mobile-cropper": "^0.10.0",
"react-native": "0.73.7",
"react-native-draggable-flatlist": "4.0.1",
"react-native-reanimated": "3.6.1",
"react-native-web": "0.18.12",
"react-render-tracker": "^0.7.6",
"rlp": "^3.0.0",
"socket.io-client": "^4.7.5",
"sonner": "^1.4.41",
"stream-browserify": "^3.0.0",
"superagent": "6.1.0",
"tamagui": "1.108.0",
"timeout-signal": "^2.0.0",
"tonweb": "^0.0.66",
"use-suspender": "^2.0.0-beta.0",
"viem": "^2.9.2"
},
"devDependencies": {
"@babel/plugin-proposal-class-static-block": "^7.21.0",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/preset-env": "^7.22.9",
"@emurgo/cardano-message-signing-nodejs": "^1.0.1",
"@emurgo/cardano-serialization-lib-nodejs": "^11.5.0",
"@expo/webpack-config": "~19.0.1",
"@open-wc/webpack-import-meta-loader": "^0.4.7",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@sentry/babel-plugin-component-annotate": "2.21.1",
"@sentry/webpack-plugin": "^2.22.6",
"@tamagui/babel-plugin": "1.108.0",
"@types/chrome": "^0.0.263",
"@types/elliptic": "^6.4.16",
"@types/ethjs-util": "^0.1.2",
"@types/event-source-polyfill": "^1",
"@types/hdkey": "^2.0.3",
"@types/jest": "^29.5.6",
"@types/lodash": "^4.17.7",
"@types/long": "^5.0.0",
"@types/memoizee": "^0.4.10",
"@types/punycode": "^2",
"@types/react": "^18.2.29",
"@types/react-beautiful-dnd": "13.1.8",
"@types/react-dom": "~18.3.0",
"@types/web": "0.0.151",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"axios": "^1.7.4",
"babel-loader": "^9.1.3",
"babel-plugin-catch-logger": "0.1.13",
"babel-plugin-import": "^1.13.5",
"babel-plugin-inline-import": "^3.0.0",
"babel-plugin-module-resolver": "^5.0.0",
"babel-plugin-react-native-web": "^0.19.9",
"babel-plugin-transform-define": "^2.1.2",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"babel-plugin-transform-remove-console": "^6.9.4",
"cheerio": "^1.0.0-rc.12",
"copy-webpack-plugin": "^6.0.2",
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"date-fns": "^2.30.0",
"duplicate-package-checker-webpack-plugin": "^3.0.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-wesbos": "^3.1.4",
"eslint-plugin-ban": "1.5.2",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-import-path": "^0.0.2",
"eslint-plugin-jest": "^27.1.7",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-props-checker": "^1.1.0",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-spellcheck": "^0.0.20",
"eslint-plugin-unicorn": "^56.0.0",
"eslint-plugin-use-effect-no-deps": "^1.1.2",
"fake-indexeddb": "^5.0.0",
"html-webpack-plugin": "^5.5.3",
"ip": "^1.1.9",
"jest": "^29.7.0",
"jest-expo": "~50.0.1",
"jest-html-reporter": "^3.10.2",
"metro": "0.80.12",
"node-notifier": "^10.0.1",
"patch-package": "^7.0.0",
"prettier": "^2.8.1",
"progress-bar-webpack-plugin": "^2.1.0",
"react-dev-utils": "^12.0.1",
"react-native-copy-asset": "^3.0.2",
"react-native-flipper": "0.201.0",
"react-refresh": "^0.14.0",
"rimraf": "^5.0.5",
"semver": "7.5.4",
"socket.io": "^4.7.5",
"style-loader": "^3.3.3",
"tamagui-loader": "1.108.0",
"ts-jest": "^29.1.1",
"ultra-runner": "^3.10.5",
"webpack": "5.90.3",
"webpack-bundle-analyzer": "^4.9.1",
"webpack-cli": "5.1.4",
"webpack-dev-server": "^4.15.1",
"webpack-manifest-plugin": "^5.0.0",
"webpack-subresource-integrity": "^5.2.0-rc.1",
"worker-loader": "^3.0.8"
},
"resolutions": {
"expo-modules-core": "1.11.13",
"tronweb@^6.0.0": "6.0.0",
"@babel/core": "7.23.5",
"@babel/code-frame": "7.23.5",
"@babel/generator": "7.23.5",
"@babel/helper-module-transforms": "7.23.3",
"@babel/traverse": "7.23.5",
"@babel/highlight": "7.23.4",
"@babel/types": "7.23.5",
"@babel/parser": "7.23.5",
"@polkadot/util": "12.6.2",
"@polkadot/util-crypto": "12.6.2",
"electron": "27.3.1",
"@walletconnect/universal-provider": "2.11.2",
"@walletconnect/core": "2.11.2",
"fs": "npm:@favware/[email protected]",
"react-native-webview": "npm:@onekeyfe/[email protected]",
"@sentry/browser": "npm:8.42.0",
"@sentry/core": "npm:8.42.0",
"@sentry/react": "npm:8.42.0",
"@sentry/types": "npm:8.42.0",
"@sentry/utils": "npm:8.42.0"
}
}