forked from ant-design/pro-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
173 lines (173 loc) Β· 5.98 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
{
"name": "pro-components",
"private": true,
"license": "MIT",
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "node ./scripts/bootstrap.js",
"build": "npm run version && npm run build-components",
"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 -- -w=2 && node ./scripts/release.js",
"site": "node ./scripts/preDeploy && 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 jest ",
"test:coverage": "npm run version && cross-env TZ=UTC TEST_LOG=none jest --coverage",
"test:update": "pnpm run version && cross-env TZ=UTC jest --updateSnapshot",
"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",
"typescript": "~4.8.4"
},
"devDependencies": {
"@ant-design/antd-theme-variable": "^1.0.0",
"@ant-design/cssinjs": "^1.11.1",
"@ant-design/icons": "^5.1.4",
"@babel/core": "^7.22.9",
"@babel/eslint-plugin": "^7.22.5",
"@babel/parser": "^7.22.7",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.22.9",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@babel/traverse": "^7.22.8",
"@emotion/babel-plugin": "^11.11.0",
"@emotion/cache": "^11.11.0",
"@emotion/css": "^11.11.2",
"@emotion/serialize": "^1.1.2",
"@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.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.4.3",
"@types/chroma-js": "^2.4.0",
"@types/glob": "^8.1.0",
"@types/history": "^4.7.11",
"@types/jest": "^27.5.2",
"@types/lodash": "^4.14.195",
"@types/lodash.merge": "^4.6.7",
"@types/mockjs": "^1.0.7",
"@types/node": "^14.18.53",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@types/react-helmet": "^6.1.6",
"@types/react-responsive": "^8.0.5",
"@types/shallowequal": "^1.1.1",
"@types/warning": "^3.0.0",
"@umijs/babel-preset-umi": "^3.5.41",
"@umijs/doctor": "^1.0.5",
"@umijs/fabric": "^4.0.1",
"@umijs/plugin-analytics": "^0.2.3",
"@umijs/test": "^3.5.41",
"@umijs/test-utils": "^3.5.41",
"@umijs/utils": "^4.0.72",
"animated-scroll-to": "^2.3.0",
"antd": "^5.7.0",
"antd-style": "^3.4.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.9",
"dumi": "^2.2.1",
"dumi-theme-antd-style": "0.25.1",
"esbuild": "^0.15.18",
"esbuild-jest": "^0.5.0",
"eslint": "^8.44.0",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unicorn": "^47.0.0",
"execa": "^5.1.1",
"express": "^4.18.2",
"fast-deep-equal": "^3.1.3",
"father": "^4.2.3",
"gh-pages": "^3.2.3",
"glob": "^8.1.0",
"identity-obj-proxy": "^3.0.0",
"inquirer": "^8.2.5",
"jest": "^29.6.1",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.6.1",
"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.29.4",
"np": "^6.5.0",
"nprogress": "^0.2.0",
"octokit": "^1.8.1",
"polished": "^4.2.2",
"prettier": "^2.8.8",
"prettier-plugin-organize-imports": "^3.2.3",
"prettier-plugin-packagejson": "^2.4.5",
"pretty-quick": "^3.1.3",
"query-string": "^6.14.1",
"rc-field-form": "^1.34.1",
"rc-footer": "^0.6.8",
"rc-resize-observer": "^1.3.1",
"rc-steps": "^6.0.0",
"rc-table": "^7.32.1",
"rc-util": "^5.34.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-draggable": "^4.4.5",
"react-layout-kit": "^1.7.0",
"react-lazy-load": "^4.0.1",
"react-markdown": "^8.0.7",
"react-syntax-highlighter": "^15.5.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.1",
"typescript": "~4.8.4",
"umi": "^4.0.72",
"umi-request": "^1.4.0",
"use-merge-value": "^1.2.0",
"write-pkg": "^4.0.0",
"xhr-mock": "^2.5.1",
"yorkie": "^2.0.0",
"zustand": "^4.3.9"
},
"gitHooks": {
"pre-commit": "pretty-quick --staged",
"commit-msg": "fabric verify-commit"
},
"packageManager": "[email protected]",
"repository": "[email protected]:ant-design/pro-components.git"
}