forked from RabbyHub/rabby-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
169 lines (169 loc) · 10.6 KB
/
package.json
File metadata and controls
169 lines (169 loc) · 10.6 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
{
"name": "@rabby-wallet/mobile-monorepo",
"version": "99.0.0",
"private": true,
"description": "Monorepo for app and packages shared between Rabby Mobile clients",
"repository": {
"type": "git",
"url": "https://github.com/RabbyHub/rabby-mobile.git"
},
"files": [],
"workspaces": {
"packages": [
"apps/*",
"packages/*"
]
},
"scripts": {
"build": "tsc --build tsconfig.build.json --verbose",
"build:clean": "rimraf dist '**/*.tsbuildinfo' && yarn build",
"build:docs": "yarn workspaces foreach --parallel --interlaced --verbose run build:docs",
"build:watch": "yarn run build --watch",
"changelog:validate": "yarn workspaces foreach --parallel --interlaced --verbose run changelog:validate",
"child-workspace-package-names-as-json": "ts-node scripts/child-workspace-package-names-as-json.ts",
"postinstall": "yarn build && yarn apps/mobile postinstall",
"install-husky": "husky install",
"typecheck": "yarn workspace rabby-mobile typecheck",
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn constraints",
"lint:eslint": "eslint . --cache --ext js,ts",
"lint:fix": "yarn lint:eslint --fix && yarn constraints --fix && yarn lint:misc --write && yarn",
"lint:misc": "prettier '**/*.json' '**/*.md' '!**/CHANGELOG.md' '!**/CHANGELOG.old.md' '**/*.yml' '!.yarnrc.yml' '!merged-packages/**' --ignore-path .gitignore",
"normalize": "yarn constraints",
"prepack": "./scripts/prepack.sh",
"prepare": "husky install",
"prepare-preview-builds": "./scripts/prepare-preview-builds.sh",
"publish-previews": "yarn workspaces foreach --parallel --verbose run publish:preview",
"setup": "yarn install-husky && yarn install",
"start": "cd apps/mobile && yarn start",
"test": "yarn test:verbose --silent --collectCoverage=false --reporters=jest-silent-reporter",
"test:clean": "yarn workspaces foreach --parallel --verbose run test:clean && yarn test",
"test:mergeVault": "yarn workspace @rabby-wallet/service-keyring test:mergeVault",
"test:verbose": "yarn workspaces foreach --parallel --verbose run test:verbose",
"update-readme-content": "ts-node scripts/update-readme-content.ts"
},
"simple-git-hooks": {
"pre-push": "yarn lint"
},
"lint-staged": {
"apps/mobile/*.{js,jsx,ts,tsx}": [
"yarn workspace rabby-mobile lint:commit:fix"
],
"apps/mobile-local-pages/*.{js,jsx,ts,tsx}": [
"yarn workspace mobile-local-pages lint:commit:fix"
],
"apps/dev-console-cra/*.{js,jsx,ts,tsx}": [
"yarn workspace dev-console-cra lint:commit:fix"
]
},
"resolutions": {
"@keystonehq/bc-ur-registry@^0.6.0": "patch:@keystonehq/bc-ur-registry@npm%3A0.6.4#./.yarn/patches/@keystonehq-bc-ur-registry-npm-0.6.4-7922ce4e4c.patch",
"@ledgerhq/hw-app-eth@6.45.0": "patch:@ledgerhq/hw-app-eth@npm%3A6.45.0#./.yarn/patches/@ledgerhq-hw-app-eth-npm-6.45.0-24dc988cd5.patch",
"@ledgerhq/hw-transport@^6.31.4": "patch:@ledgerhq/hw-transport@npm%3A6.31.4#./.yarn/patches/@ledgerhq-hw-transport-npm-6.31.4-b439e9a1f8.patch",
"@ledgerhq/react-native-hw-transport-ble/react-native-ble-plx": "3.5.0",
"@metamask/browser-passworder@6.0.0": "patch:@metamask/browser-passworder@npm%3A6.0.0#./.yarn/patches/@metamask-browser-passworder-npm-6.0.0-b3e10a0dba.patch",
"@metamask/eth-sig-util@5.1.0": "patch:@metamask/eth-sig-util@npm%3A5.1.0#./.yarn/patches/@metamask-eth-sig-util-npm-5.1.0-fb33750b27.patch",
"nativewind@^2.0.11": "patch:nativewind@npm%3A2.0.11#./.yarn/patches/nativewind-npm-2.0.11-dc2ccf9fb5.patch",
"react-native-animateable-text@0.14.2": "patch:react-native-animateable-text@npm%3A0.14.2#./.yarn/patches/react-native-animateable-text-npm-0.14.2-9dfa5fe6c7.patch",
"react-native-fs@^2.20.0": "patch:react-native-fs@npm%3A2.20.0#./.yarn/patches/react-native-fs-npm-2.20.0-a38fe24051.patch",
"react-native-mmkv@^2.12.2": "patch:react-native-mmkv@npm%3A2.12.2#./.yarn/patches/react-native-mmkv-npm-2.12.2-9efa7abf70.patch",
"react-native-quick-crypto@0.7.13": "patch:react-native-quick-crypto@npm%3A0.7.13#./.yarn/patches/react-native-quick-crypto-npm-0.7.13-2726ada4c8.patch",
"react-native-reanimated@^3.6.1": "patch:react-native-reanimated@npm%3A3.6.1#./.yarn/patches/react-native-reanimated-npm-3.6.1-68d8b4ad7e.patch",
"react-native-webview@13.10.5": "patch:react-native-webview@npm%3A13.10.5#./.yarn/patches/react-native-webview-npm-13.10.5-714eb41569.patch",
"react-use@17.4.2": "patch:react-use@npm%3A17.4.2#./.yarn/patches/react-use-npm-17.4.2-d0e8220eaa.patch",
"typeorm@^0.3.20": "patch:typeorm@npm%3A0.3.20#./.yarn/patches/typeorm-npm-0.3.20-3cdc45367a.patch",
"zeego@1.10.0": "patch:zeego@npm%3A1.10.0#./.yarn/patches/zeego-npm-1.10.0-1958a3ea63.patch",
"react-native-bundle-visualizer@3.1.0": "patch:react-native-bundle-visualizer@npm%3A3.1.0#./.yarn/patches/react-native-bundle-visualizer-npm-3.1.0-6744c68ec9.patch",
"react-native-ble-plx": "3.5.0",
"@debank/common@^0.3.54": "patch:@debank/common@npm%3A0.3.60#./.yarn/patches/@debank-common-npm-0.3.60-676123558a.patch",
"@debank/common@0.3.60": "patch:@debank/common@npm%3A0.3.60#./.yarn/patches/@debank-common-npm-0.3.60-676123558a.patch",
"@safe-global/types-kit@1.0.4": "patch:@safe-global/types-kit@npm%3A1.0.4#./.yarn/patches/@safe-global-types-kit-npm-1.0.4-47a7ac1904.patch",
"@safe-global/types-kit@^1.0.0": "patch:@safe-global/types-kit@npm%3A1.0.4#./.yarn/patches/@safe-global-types-kit-npm-1.0.4-47a7ac1904.patch",
"@safe-global/types-kit@1.0.2": "patch:@safe-global/types-kit@npm%3A1.0.4#./.yarn/patches/@safe-global-types-kit-npm-1.0.4-47a7ac1904.patch",
"@safe-global/types-kit@^1.0.2": "patch:@safe-global/types-kit@npm%3A1.0.4#./.yarn/patches/@safe-global-types-kit-npm-1.0.4-47a7ac1904.patch",
"@safe-global/types-kit@^1.0.4": "patch:@safe-global/types-kit@npm%3A1.0.4#./.yarn/patches/@safe-global-types-kit-npm-1.0.4-47a7ac1904.patch",
"@scure/bip39@1.2.2": "patch:@scure/bip39@npm%3A1.3.0#./.yarn/patches/@scure-bip39-npm-1.3.0-1d74c5c469.patch",
"@scure/bip39@1.5.4": "patch:@scure/bip39@npm%3A1.3.0#./.yarn/patches/@scure-bip39-npm-1.3.0-1d74c5c469.patch",
"@scure/bip39@1.2.1": "patch:@scure/bip39@npm%3A1.3.0#./.yarn/patches/@scure-bip39-npm-1.3.0-1d74c5c469.patch",
"@scure/bip39@1.3.0": "patch:@scure/bip39@npm%3A1.3.0#./.yarn/patches/@scure-bip39-npm-1.3.0-1d74c5c469.patch",
"@scure/bip39@^1.4.0": "patch:@scure/bip39@npm%3A1.3.0#./.yarn/patches/@scure-bip39-npm-1.3.0-1d74c5c469.patch",
"@scure/bip39@^1.2.1": "patch:@scure/bip39@npm%3A1.3.0#./.yarn/patches/@scure-bip39-npm-1.3.0-1d74c5c469.patch",
"@react-native-menu/menu@1.2.3": "patch:@react-native-menu/menu@npm%3A1.2.3#./.yarn/patches/@react-native-menu-menu-npm-1.2.3-182506938b.patch",
"@rneui/base@^4.0.0-rc.8": "patch:@rneui/base@npm%3A4.0.0-rc.8#./.yarn/patches/@rneui-base-npm-4.0.0-rc.8-23456f2e0d.patch",
"react-native-keychain@8.2.0": "patch:react-native-keychain@npm%3A8.2.0#./.yarn/patches/react-native-keychain-npm-8.2.0-ff8c16b501.patch",
"react-native-vision-camera@4.7.2": "patch:react-native-vision-camera@npm%3A4.7.2#./.yarn/patches/react-native-vision-camera-npm-4.7.2-5538eb538b.patch",
"@op-engineering/op-sqlite@^15.1.1": "patch:@op-engineering/op-sqlite@npm%3A15.1.1#./.yarn/patches/@op-engineering-op-sqlite-npm-15.1.1-64eb5c2a0a.patch",
"@gorhom/bottom-sheet@5.0.6": "patch:@gorhom/bottom-sheet@npm%3A5.0.6#./.yarn/patches/@gorhom-bottom-sheet-npm-5.0.6-ee2c6d5dad.patch",
"@ethereumjs/tx@5.4.0": "patch:@ethereumjs/tx@npm%3A5.4.0#./.yarn/patches/@ethereumjs-tx-npm-5.4.0-0c4a0f973e.patch",
"@ethereumjs/tx@5.1.0": "patch:@ethereumjs/tx@npm%3A5.4.0#./.yarn/patches/@ethereumjs-tx-npm-5.4.0-0c4a0f973e.patch",
"@ethereumjs/tx@^3.3.2": "patch:@ethereumjs/tx@npm%3A5.4.0#./.yarn/patches/@ethereumjs-tx-npm-5.4.0-0c4a0f973e.patch",
"@ethereumjs/tx@^4.2.0": "patch:@ethereumjs/tx@npm%3A5.4.0#./.yarn/patches/@ethereumjs-tx-npm-5.4.0-0c4a0f973e.patch",
"@ethereumjs/tx@^4.1.2": "patch:@ethereumjs/tx@npm%3A5.4.0#./.yarn/patches/@ethereumjs-tx-npm-5.4.0-0c4a0f973e.patch",
"@ethereumjs/tx@^10.0.0": "patch:@ethereumjs/tx@npm%3A5.4.0#./.yarn/patches/@ethereumjs-tx-npm-5.4.0-0c4a0f973e.patch",
"@rabby-wallet/eth-simple-keyring": "5.1.0",
"react-native-collapsible-tab-view@^6.2.1": "patch:react-native-collapsible-tab-view@npm%3A6.2.1#./.yarn/patches/react-native-collapsible-tab-view-npm-6.2.1-a5b5774731.patch"
},
"dependencies": {
"@babel/runtime": "^7.20.0",
"@debank/common": "^0.3.54",
"@exodus/patch-broken-hermes-typed-arrays": "^1.0.0-alpha.1",
"@rabby-wallet/gnosis-sdk": "1.4.6",
"@rabby-wallet/rabby-api": "0.9.55",
"human-standard-token-abi": "^2.0.0"
},
"devDependencies": {
"@babel/plugin-transform-class-static-block": "7.28.3",
"@lavamoat/allow-scripts": "^2.3.1",
"@metamask/create-release-branch": "^1.1.0",
"@metamask/eslint-config": "^12.2.0",
"@metamask/eslint-config-jest": "^12.1.0",
"@metamask/eslint-config-nodejs": "^12.1.0",
"@metamask/eslint-config-typescript": "^12.1.0",
"@metamask/eth-json-rpc-provider": "^2.3.0",
"@metamask/json-rpc-engine": "^7.3.0",
"@metamask/utils": "^8.2.0",
"@types/node": "^20.14.8",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"bn.js": "^5.2.1",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsdoc": "^39.9.1",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eth-block-tracker": "^8.0.0",
"execa": "^5.0.0",
"husky": "^8.0.3",
"isomorphic-fetch": "^3.0.0",
"jest-silent-reporter": "^0.5.0",
"lint-staged": "^15.2.0",
"nock": "^13.3.1",
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.4.5",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.8.0",
"ts-node": "^10.9.1",
"typescript": "5.7.3",
"which": "^3.0.0"
},
"packageManager": "yarn@3.3.0",
"engines": {
"node": ">=22"
},
"lavamoat": {
"allowScripts": {
"@lavamoat/preinstall-always-fail": false,
"@keystonehq/bc-ur-registry-eth>hdkey>secp256k1": true,
"babel-runtime>core-js": false,
"eth-sig-util>ethereumjs-abi>ethereumjs-util>keccakjs>sha3": true,
"eth-sig-util>ethereumjs-util>keccak": true,
"eth-sig-util>ethereumjs-util>secp256k1": true,
"ethereumjs-util>ethereum-cryptography>keccak": true,
"ethereumjs-util>ethereum-cryptography>secp256k1": true,
"simple-git-hooks": false
}
}
}