-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
201 lines (201 loc) · 6.94 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
{
"name": "parami-app",
"version": "1.1.3",
"private": true,
"description": "A parami(AD3) blockchain offcial app",
"scripts": {
"analyze": "cross-env ANALYZE=1 umi build",
"build": "cross-env GA_KEY=G-1FKB5YPBY7 umi build",
"build:env": "cross-env REACT_APP_ENV=dev MOCK=none UMI_ENV=dev umi build",
"predeploy": "yarn build && cp dist/index.html dist/404.html",
"deploy": "yarn gh-pages",
"dev": "yarn start:dev",
"gh-pages": "gh-pages -d dist",
"i18n-remove": "pro i18n-remove --locale=zh-CN --write",
"postinstall": "umi g tmp",
"lint": "umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier && npm run tsc",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint:prettier": "prettier -c --write \"src/**/*\" --end-of-line auto",
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
"openapi": "umi openapi",
"prettier": "prettier -c --write \"src/**/*\"",
"start": "cross-env PORT=80 umi dev",
"start:dev": "cross-env REACT_APP_ENV=dev MOCK=none UMI_ENV=dev PORT=80 umi dev",
"start:no-mock": "cross-env MOCK=none UMI_ENV=dev umi dev",
"start:no-ui": "cross-env UMI_UI=none UMI_ENV=dev umi dev",
"start:pre": "cross-env REACT_APP_ENV=pre UMI_ENV=dev umi dev",
"start:test": "cross-env REACT_APP_ENV=test MOCK=none UMI_ENV=dev umi dev",
"pretest": "node ./tests/beforeTest",
"test": "umi test",
"test:all": "node ./tests/run-tests.js",
"test:component": "umi test ./src/components",
"serve": "umi-serve",
"tsc": "tsc --noEmit"
},
"lint-staged": {
"**/*.less": "stylelint --syntax less",
"**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js",
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write"
]
},
"browserslist": [
"> 10%",
"last 2 versions",
"not ie>0",
"not ie_mob>0"
],
"dependencies": {
"@ant-design/charts": "^1.2.14",
"@ant-design/icons": "^4.7.0",
"@ant-design/pro-descriptions": "^1.10.2",
"@ant-design/pro-form": "^1.49.0",
"@ant-design/pro-layout": "^6.30.0",
"@ant-design/pro-table": "^2.57.2",
"@chainsafe/chainbridge-contracts": "^2.0.0",
"@chainsafe/web3-context": "^1.2.0",
"@ethersproject/abi": "^5.5.0",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/contracts": "^5.5.0",
"@ethersproject/providers": "^5.5.1",
"@metamask/detect-provider": "^1.2.0",
"@polkadot/api": "^9.9.1",
"@polkadot/api-contract": "^6.8.1",
"@polkadot/extension-dapp": "^0.41.1",
"@polkadot/jsonrpc": "^1.7.1",
"@polkadot/keyring": "^7.8.2",
"@polkadot/react-api": "^0.39.1",
"@polkadot/react-components": "^0.39.1",
"@polkadot/react-hooks": "^0.39.1",
"@polkadot/react-signer": "^0.39.1",
"@polkadot/types-known": "^9.9.1",
"@polkadot/ui-keyring": "^0.86.5",
"@polkadot/util": "^7.8.2",
"@polkadot/util-crypto": "^7.8.2",
"@polkadot/wasm-crypto": "^4.2.1",
"@project-serum/sol-wallet-adapter": "^0.2.6",
"@redux-model/react": "^9.0.6",
"@solana/wallet-adapter-base": "^0.7.0",
"@solana/wallet-adapter-react": "^0.15.3",
"@solana/wallet-adapter-tokenpocket": "^0.2.0",
"@solana/web3.js": "^1.35.1",
"@types/bs58": "^4.0.1",
"@types/qrcode.react": "^1.0.2",
"@types/react-copy-to-clipboard": "^5.0.2",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@umijs/route-utils": "^2.0.4",
"@uniswap/v3-sdk": "^3.6.3",
"@walletconnect/qrcode-modal": "^1.6.6",
"@walletconnect/utils": "^1.6.6",
"@walletconnect/web3-provider": "^1.7.0",
"antd": "^4.17.1",
"antd-img-crop": "^3.16.0",
"async-mutex": "^0.3.2",
"big-integer": "^1.6.51",
"bn.js": "^5.2.0",
"browser-image-compression": "^2.0.0",
"browserlist": "^1.0.1",
"bs58": "^4.0.1",
"caniuse-lite": "^1.0.30001282",
"cid": "multiformats/cid",
"classnames": "^2.3.1",
"copy-to-clipboard": "^3.3.1",
"cross-fetch": "^3.1.5",
"crypto-js": "^4.1.1",
"dayjs": "^1.10.7",
"detect-inapp": "^1.4.0",
"dotenv": "^10.0.0",
"easy-peasy": "^5.0.4",
"eslint-plugin-jest": "^25.2.4",
"eslint-plugin-react": "^7.27.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-unicorn": "^38.0.1",
"ethers": "^5.6.2",
"graphql": "^16.0.1",
"lint-staged": "^12.0.2",
"lodash": "^4.17.21",
"lodash.debounce": "^4.0.8",
"lodash.merge": "^4.6.2",
"moment": "^2.29.2",
"omit.js": "^2.0.2",
"opensea-js": "^3.0.2",
"parity-scale-codec": "^0.4.2",
"qrcode.react": "^1.0.1",
"radium": "^0.26.1",
"react": "^17.0.2",
"react-animations": "^1.0.0",
"react-copy-to-clipboard": "^5.0.4",
"react-debounced": "^1.0.2",
"react-dev-inspector": "^1.7.1",
"react-dom": "^17.0.2",
"react-fast-marquee": "^1.3.5",
"react-helmet-async": "^1.1.2",
"react-icons": "^4.3.1",
"react-infinite-scroll-component": "^6.1.0",
"react-simple-timestamp-to-date": "^1.0.3",
"react-svg": "^14.1.2",
"react-svga": "^0.1.6",
"react-tagcloud": "^2.1.1",
"react-telegram-login": "^1.1.2",
"redux-persist": "^6.0.0",
"register-service-worker": "^1.7.2",
"styled-components": "^5.3.3",
"throttle-typescript": "^1.1.0",
"tp-js-sdk": "^3.7.1",
"umi": "^3.5.20",
"umi-request": "^1.4.0",
"umi-serve": "^1.9.10",
"use-persisted-state": "^0.3.3",
"vconsole": "^3.10.1",
"web3": "^1.6.1",
"web3-eth": "^1.6.1",
"web3-eth-contract": "^1.7.1",
"web3modal": "^1.9.5",
"workbox-precaching": "^6.5.4",
"workbox-webpack-plugin": "^6.5.4"
},
"devDependencies": {
"@ant-design/pro-cli": "^2.1.5",
"@types/crypto-js": "^4.0.2",
"@types/express": "^4.17.13",
"@types/history": "^4.7.9",
"@types/jest": "^27.0.2",
"@types/lodash": "^4.14.177",
"@types/react": "^17.0.35",
"@types/react-dom": "^17.0.11",
"@types/react-helmet": "^6.1.4",
"@types/styled-components": "^5.1.15",
"@types/use-persisted-state": "^0.3.0",
"@umijs/fabric": "^2.8.1",
"@umijs/openapi": "^1.3.6",
"@umijs/plugin-blocks": "^2.2.2",
"@umijs/plugin-esbuild": "^1.4.1",
"@umijs/plugin-openapi": "^1.3.2",
"@umijs/preset-ant-design-pro": "^1.3.3",
"@umijs/preset-dumi": "^1.1.32",
"@umijs/preset-react": "^1.8.29",
"@umijs/yorkie": "^2.0.5",
"carlo": "^0.9.46",
"cross-env": "^7.0.3",
"cross-port-killer": "^1.3.0",
"detect-installer": "^1.0.2",
"enzyme": "^3.11.0",
"eslint": "^8.2.0",
"express": "^4.17.1",
"gh-pages": "^3.2.3",
"jsdom-global": "^3.0.2",
"mockjs": "^1.1.0",
"prettier": "^2.4.1",
"puppeteer-core": "^11.0.0",
"stylelint": "^14.1.0",
"typescript": "^4.5.2",
"webpack": "^5.64.1",
"webpack-cli": "^4.9.1"
},
"engines": {
"node": ">=10.0.0"
}
}