forked from ant-design/pro-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
174 lines (174 loc) Β· 6.02 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
{
"name": "pro-components",
"private": true,
"repository": "git@github.com:ant-design/pro-components.git",
"license": "MIT",
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "node ./scripts/bootstrap.js",
"build": "npm run version && npm run build-components && node ./scripts/readApi.mjs",
"build-components": "pnpm --filter \"@ant-design/**\" build",
"changelog": "node ./scripts/changelogs.js",
"check-deps": "node ./scripts/checkDeps.js",
"checkPublish": "npm run sync:tnpm && node ./scripts/checkPublish.js && npm run sync:tnpm",
"createRelease": "node ./scripts/createRelease.js",
"deploy": "cross-env SITE_DEPLOY='TRUE' npm run site && gh-pages -d ./dist",
"dev": "npm run version && dumi dev",
"dumi": "node ./scripts/preDeploy && cross-env SITE_DEPLOY='TRUE' dumi build",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --fix --format=pretty ./ && npm run tsc && npm run lint:prettier",
"lint:prettier": "npm run prettier && git diff && prettier --version && prettier --check \"packages/**/**.{js,jsx,tsx,ts,less,md,json}\" --end-of-line auto",
"prettier": "prettier --write \"**/**.{js,jsx,tsx,ts,less,md,yaml,json}\" --loglevel warn",
"publishOnly": "node ./scripts/release.js --publishOnly",
"release": "npm run test && node ./scripts/release.js",
"site": "npm run build && cross-env SITE_DEPLOY='TRUE' dumi build",
"start": "npm run version && dumi dev",
"sync:tnpm": "node -e 'require(\"./scripts/syncTNPM\")()'",
"test": "npm run version && cross-env TZ=UTC vitest --run",
"test:coverage": "npm run version && cross-env TZ=UTC TEST_LOG=none vitest --coverage",
"test:update": "pnpm run version && cross-env TZ=UTC vitest -u",
"tsc": "tsc --noEmit",
"tsc:duplicate": "tsc -p ./tests/tsconfig.duplicate.json",
"update:deps": "pnpm up --latest",
"version": "node ./scripts/gen_version.js"
},
"browserslist": [
"last 2 versions",
"Firefox ESR",
"> 1%",
"ie >= 11"
],
"resolutions": {
"@types/react": "^18.0.38",
"@types/react-dom": "^18.0.11",
"@types/responselike": "^1.0.0"
},
"devDependencies": {
"@ant-design/antd-theme-variable": "^1.0.0",
"@ant-design/cssinjs": "^1.18.4",
"@ant-design/icons": "^5.3.1",
"@babel/core": "^7.24.0",
"@babel/eslint-plugin": "^7.23.5",
"@babel/parser": "^7.24.0",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.24.0",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/traverse": "^7.24.0",
"@emotion/babel-plugin": "^11.11.0",
"@emotion/cache": "^11.11.0",
"@emotion/css": "^11.11.2",
"@emotion/serialize": "^1.1.3",
"@floating-ui/react": "^0.19.2",
"@octokit/core": "^3.6.0",
"@octokit/rest": "^18.12.0",
"@testing-library/dom": "^8.20.1",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/chroma-js": "^2.4.4",
"@types/glob": "^8.1.0",
"@types/history": "^4.7.11",
"@types/lodash": "^4.14.202",
"@types/lodash.merge": "^4.6.9",
"@types/mockjs": "^1.0.10",
"@types/node": "^14.18.63",
"@types/react": "^18.2.63",
"@types/react-dom": "^18.2.20",
"@types/react-helmet": "^6.1.11",
"@types/react-responsive": "^8.0.8",
"@types/shallowequal": "^1.1.5",
"@types/warning": "^3.0.3",
"@umijs/babel-preset-umi": "^3.5.41",
"@umijs/doctor": "^1.0.5",
"@umijs/fabric": "^4.0.1",
"@umijs/plugin-analytics": "^0.2.4",
"@umijs/test": "^3.5.41",
"@umijs/test-utils": "^3.5.41",
"@umijs/utils": "^4.1.2",
"@vitest/coverage-istanbul": "^0.34.6",
"animated-scroll-to": "^2.3.0",
"antd": "^5.15.0",
"antd-style": "^3.6.1",
"babel-loader": "^9.1.3",
"babel-types": "^6.26.0",
"chalk": "^4.1.2",
"chroma-js": "^2.4.2",
"copy-to-clipboard": "^3.3.3",
"cross-env": "^7.0.3",
"dayjs": "^1.11.10",
"dumi": "^2.2.17",
"dumi-theme-antd-style": "0.25.1",
"esbuild": "^0.15.18",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unicorn": "^47.0.0",
"execa": "^5.1.1",
"express": "^4.18.3",
"fast-deep-equal": "^3.1.3",
"father": "^4.4.0",
"gh-pages": "^3.2.3",
"glob": "^8.1.0",
"identity-obj-proxy": "^3.0.0",
"inquirer": "^8.2.6",
"jest-canvas-mock": "^2.5.2",
"jest-fetch-mock": "^3.0.3",
"jsdom": "^19.0.0",
"lerna": "^3.22.1",
"lint-staged": "^10.5.4",
"lodash": "^4.17.21",
"mockdate": "^3.0.5",
"mockjs": "^1.1.0",
"moment": "^2.30.1",
"np": "^6.5.0",
"nprogress": "^0.2.0",
"octokit": "^1.8.1",
"polished": "^4.3.1",
"prettier": "^2.8.8",
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-packagejson": "^2.4.12",
"pretty-quick": "^3.3.1",
"query-string": "^6.14.1",
"rc-field-form": "^1.42.1",
"rc-footer": "^0.6.8",
"rc-resize-observer": "^1.4.0",
"rc-steps": "^6.0.1",
"rc-table": "^7.42.0",
"rc-util": "^5.38.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-draggable": "^4.4.6",
"react-layout-kit": "^1.7.4",
"react-lazy-load": "^4.0.1",
"react-markdown": "^8.0.7",
"react-syntax-highlighter": "^15.5.0",
"remark": "^15.0.1",
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"shiki-es": "^0.2.0",
"slash2": "^2.0.0",
"style-loader": "^2.0.0",
"stylelint": "^13.13.1",
"timezone-mock": "^1.3.6",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"umi": "^4.1.2",
"umi-request": "^1.4.0",
"unified": "^11.0.4",
"unist-util-visit": "^5.0.0",
"vitest": "^0.34.6",
"write-pkg": "^4.0.0",
"xhr-mock": "^2.5.1",
"yorkie": "^2.0.0",
"zustand": "^4.5.2"
},
"gitHooks": {
"pre-commit": "pretty-quick --staged",
"commit-msg": "fabric verify-commit"
},
"packageManager": "pnpm@8.6.0"
}