-
Notifications
You must be signed in to change notification settings - Fork 154
/
Copy pathpackage.json
145 lines (145 loc) · 5.19 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
{
"name": "@ant-design/web3-docs",
"version": "0.0.0",
"private": true,
"workspaces": [
"packages/*",
"examples/*"
],
"packageManager": "[email protected]",
"files": [],
"keywords": [
"ant",
"design",
"web3",
"antd",
"component",
"components",
"framework",
"frontend",
"react",
"react-component",
"ui"
],
"scripts": {
"start": "dumi dev",
"dev": "dumi dev",
"dev:ssr": "cross-env SSR=1 dumi dev",
"dev:lib": "pnpm run --parallel --if-present --recursive --filter \"@ant-design/*\" dev",
"build": "pnpm run --if-present --recursive --filter \"@ant-design/*\" build",
"build:docs": "pnpm i [email protected] [email protected] -w && dumi build",
"example:ethers": "pnpm run --filter \"@example/ethers\" dev",
"example:ethers-v5": "pnpm run --filter \"@example/ethers-v5\" dev",
"example:eth-web3js": "pnpm run --filter \"@example/eth-web3js\" dev",
"postinstall": "pnpm run husky:prepare",
"changeset": "changeset",
"release:prepare": "npm run build && npm run lint && npm run test:ci",
"release": "pnpm run release:prepare && changeset version && changeset publish",
"release:alpha": "pnpm run release:prepare && changeset version --snapshot alpha && changeset publish --tag alpha",
"release:beta": "pnpm run release:prepare && changeset version --snapshot beta && changeset publish --tag beta",
"ci": "npm run build && npm run lint && npm run test:dist && npm run test:ci",
"test": "vitest",
"test:dist": "cross-env LIB_DIR=dist vitest",
"test:update": "vitest -u",
"test:coverage": "vitest --coverage",
"test:ci": "cross-env LIB_DIR=normal vitest --coverage",
"lint": "pnpm run \"/^lint:.+/\"",
"lint:eslint": "eslint --ext .ts,.tsx .",
"eslint": "eslint . --fix",
"prettier": "prettier --loglevel warn --write '**/*.{ts,tsx,js,jsx,json,md}'",
"lint:ts": "tsc --noEmit",
"clean": "pnpm run \"/^clean:.+/\"",
"clean:module": "rimraf --glob ./node_modules ./packages/*/node_modules ./examples/*/node_modules",
"clean:dist": "rimraf --glob ./packages/*/dist ./examples/*/dist",
"clean:test": "rimraf --glob ./coverage ./packages/*/coverage ./examples/*/coverage",
"husky:prepare": "husky install",
"husky:pre-commit": "lint-staged",
"biome:format": "biome format --write .",
"icons:generate": "NODE_OPTIONS='--experimental-specifier-resolution=node' node --loader ts-node/esm ./packages/icons/scripts/generate.ts"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"biome format --write",
"npm run prettier"
],
"*.{json,less,md}": "prettier --ignore-unknown --write"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@changesets/changelog-git": "^0.2.0",
"@changesets/cli": "^2.27.11",
"@ctrl/tinycolor": "^4.1.0",
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
"@testing-library/react": "^16.0.1",
"@types/lodash": "^4.17.13",
"@types/node": "^22.10.5",
"@types/react": "^18.3.5",
"@types/react-copy-to-clipboard": "^5.0.7",
"@types/react-dom": "^18.3.1",
"@umijs/fabric": "^4.0.1",
"@vitest/coverage-v8": "^2.1.5",
"babel-plugin-add-import-extension": "^1.6.0",
"babel-plugin-inline-react-svg": "^2.0.2",
"babel-plugin-react-inline-svg-unique-id": "^1.5.0",
"classnames": "^2.5.1",
"eslint": "^8.57.0",
"eslint-plugin-unused-imports": "^4.1.3",
"father": "^4.4.4",
"husky": "^9.1.5",
"jsdom": "^25.0.0",
"lint-staged": "^15.3.0",
"lodash": "^4.17.21",
"prettier": "^3.3.3",
"rc-util": "^5.43.0",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"typescript": "^5.6.2",
"vite-plugin-svgr": "^4.3.0",
"vitest": "~2.1.5"
},
"ci": {
"type": "aci",
"version": "16",
"autoBadges": false
},
"engines": {
"node": ">=18"
},
"repository": "https://github.com/ant-design/ant-design-web3.git",
"dependencies": {
"@ant-design/cssinjs": "^1.21.1",
"@ant-design/icons": "^5.5.1",
"@ant-design/web3": "workspace:*",
"@ant-design/web3-assets": "workspace:*",
"@ant-design/web3-bitcoin": "workspace:*",
"@ant-design/web3-common": "workspace:*",
"@ant-design/web3-ethers": "workspace:*",
"@ant-design/web3-icons": "workspace:*",
"@ant-design/web3-solana": "workspace:*",
"@ant-design/web3-sui": "workspace:*",
"@ant-design/web3-ton": "workspace:*",
"@ant-design/web3-wagmi": "workspace:*",
"@mysten/dapp-kit": "^0.14.11",
"@mysten/sui": "^1.14.3",
"@solana/wallet-adapter-coinbase": "^0.1.19",
"@solana/wallet-adapter-trust": "^0.1.13",
"@solana/web3.js": "^1.95.5",
"@tanstack/query-sync-storage-persister": "^5.59.16",
"@tanstack/react-query": "^5.51.11",
"@tanstack/react-query-persist-client": "^5.56.2",
"antd": "^5.22.7",
"antd-style": "^3.7.1",
"antd-token-previewer-web3": "^2.0.8",
"cross-env": "^7.0.3",
"decimal.js": "^10.4.3",
"dumi": "^2.4.13",
"dumi-theme-antd-web3": "0.4.3",
"ethers": "^6.13.4",
"github-contributors-lists": "^1.0.3",
"react": "18.3.1",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "18.3.1",
"viem": "^2.21.3",
"wagmi": "^2.14.6"
}
}