UNPKG

11.4 kBJSONView Raw
1{
2 "name": "antd",
3 "version": "5.0.0",
4 "description": "An enterprise-class UI design language and React components implementation",
5 "title": "Ant Design",
6 "keywords": [
7 "ant",
8 "component",
9 "components",
10 "design",
11 "framework",
12 "frontend",
13 "react",
14 "react-component",
15 "ui"
16 ],
17 "homepage": "https://ant.design",
18 "bugs": {
19 "url": "https://github.com/ant-design/ant-design/issues"
20 },
21 "repository": {
22 "type": "git",
23 "url": "https://github.com/ant-design/ant-design"
24 },
25 "license": "MIT",
26 "contributors": [
27 "ant"
28 ],
29 "funding": {
30 "type": "opencollective",
31 "url": "https://opencollective.com/ant-design"
32 },
33 "files": [
34 "dist",
35 "es",
36 "locale"
37 ],
38 "sideEffects": [
39 "*.less"
40 ],
41 "main": "dist/antd.js",
42 "module": "es/index.js",
43 "unpkg": "dist/antd.min.js",
44 "typings": "es/index.d.ts",
45 "scripts": {
46 "prepare": "husky install",
47 "api-collection": "antd-tools run api-collection",
48 "authors": "node ./scripts/generate-authors",
49 "build": "npm run compile && NODE_OPTIONS='--max-old-space-size=4096' npm run dist",
50 "bundlesize": "bundlesize",
51 "size-limit": "size-limit",
52 "check-commit": "node ./scripts/check-commit",
53 "check-ts-demo": "node ./scripts/check-ts-demo",
54 "clean": "antd-tools run clean && rm -rf es lib coverage dist report.html",
55 "clean-lockfiles": "rm -rf package-lock.json yarn.lock",
56 "collect-token-statistic": "ts-node --project tsconfig.node.json scripts/collect-token-statistic.js",
57 "prestart": "npm run version && npm run collect-token-statistic",
58 "precompile": "npm run version && npm run collect-token-statistic",
59 "pretest": "npm run version",
60 "predist": "npm run version",
61 "presite": "npm run version && npm run collect-token-statistic",
62 "compile": "npm run clean && antd-tools run compile-experimental",
63 "changelog": "node ./scripts/print-changelog",
64 "predeploy": "antd-tools run clean && npm run site && cp CNAME _site && npm run site:test",
65 "deploy": "gh-pages -d _site -r git@github.com:ant-design/next.ant.design.git -b gh-pages",
66 "deploy:china-mirror": "git checkout gh-pages && git pull origin gh-pages && git push git@gitee.com:ant-design/ant-design.git gh-pages",
67 "dist": "antd-tools run dist",
68 "dist:esbuild": "ESBUILD=true npm run dist",
69 "dist:esbuild-no-dup-check": "ESBUILD=true NO_DUP_CHECK=true npm run dist",
70 "lint": "npm run tsc && npm run lint:script && npm run lint:demo && npm run lint:md",
71 "lint-fix": "npm run lint-fix:script && npm run lint-fix:demo",
72 "lint-fix:demo": "npm run lint:demo -- --fix",
73 "lint-fix:script": "npm run lint:script -- --fix",
74 "lint:demo": "eslint components/*/demo/*.md",
75 "lint:deps": "antd-tools run deps-lint",
76 "lint:md": "remark . -f -q",
77 "lint:script": "eslint . --ext .js,.jsx,.ts,.tsx",
78 "pre-publish": "npm run test-all -- --skip-build",
79 "prettier": "prettier -c --write **/*",
80 "pub": "npm run version && npm run collect-token-statistic && antd-tools run pub-experimental",
81 "rome:format": "rome format --write .",
82 "prepublishOnly": "antd-tools run guard",
83 "postpublish": "node ./scripts/post-script.js",
84 "site": "dumi build && cp .surgeignore _site",
85 "sort": "npx sort-package-json",
86 "sort-api": "antd-tools run sort-api-table",
87 "start": "dumi dev",
88 "test": "jest --config .jest.js --cache=false",
89 "test:update": "jest --config .jest.js --cache=false -u",
90 "test-all": "sh -e ./scripts/test-all.sh",
91 "test-node": "npm run version && jest --config .jest.node.js --cache=false",
92 "tsc": "tsc --noEmit",
93 "site:test": "jest --config .jest.site.js --cache=false --force-exit",
94 "test-image": "jest --config .jest.image.js --no-cache -i -u",
95 "argos": "node ./scripts/argos-upload.js",
96 "version": "node ./scripts/generate-version",
97 "install-react-16": "npm i --no-save --legacy-peer-deps react@16 react-dom@16 @testing-library/react@12",
98 "install-react-17": "npm i --no-save --legacy-peer-deps react@17 react-dom@17 @testing-library/react@12",
99 "install-react-18": "npm i --no-save --legacy-peer-deps react@18 react-dom@18"
100 },
101 "browserslist": [
102 "> 0.5%",
103 "last 2 versions",
104 "Firefox ESR",
105 "not dead",
106 "IE 11",
107 "not IE 10"
108 ],
109 "dependencies": {
110 "@ant-design/colors": "^6.0.0",
111 "@ant-design/cssinjs": "^0.0.0-alpha.44",
112 "@ant-design/icons": "^4.7.0",
113 "@ant-design/react-slick": "~0.29.1",
114 "@babel/runtime": "^7.18.3",
115 "@ctrl/tinycolor": "^3.4.0",
116 "@rc-component/tour": "~1.0.1-2",
117 "classnames": "^2.2.6",
118 "copy-to-clipboard": "^3.2.0",
119 "dayjs": "^1.11.1",
120 "lodash": "^4.17.21",
121 "rc-cascader": "~3.7.0",
122 "rc-checkbox": "~2.3.0",
123 "rc-collapse": "~3.4.2",
124 "rc-dialog": "~9.0.2",
125 "rc-drawer": "~6.0.0",
126 "rc-dropdown": "~4.0.0",
127 "rc-field-form": "~1.27.0",
128 "rc-image": "~5.12.0",
129 "rc-input": "~0.1.4",
130 "rc-input-number": "~7.3.9",
131 "rc-mentions": "~1.11.0",
132 "rc-menu": "~9.7.2",
133 "rc-motion": "^2.6.1",
134 "rc-notification": "~5.0.0-alpha.9",
135 "rc-pagination": "~3.2.0",
136 "rc-picker": "~3.0.0-4",
137 "rc-progress": "~3.4.1",
138 "rc-rate": "~2.9.0",
139 "rc-resize-observer": "^1.2.0",
140 "rc-segmented": "~2.1.0",
141 "rc-select": "~14.1.13",
142 "rc-slider": "~10.0.0",
143 "rc-steps": "~6.0.0-alpha.2",
144 "rc-switch": "~4.0.0",
145 "rc-table": "~7.26.0",
146 "rc-tabs": "~12.3.0",
147 "rc-textarea": "~0.4.5",
148 "rc-tooltip": "~5.2.0",
149 "rc-tree": "~5.7.0",
150 "rc-tree-select": "~5.5.4",
151 "rc-trigger": "^5.2.10",
152 "rc-upload": "~4.3.0",
153 "rc-util": "^5.22.5",
154 "scroll-into-view-if-needed": "^2.2.25",
155 "shallowequal": "^1.1.0"
156 },
157 "devDependencies": {
158 "@ant-design/bisheng-plugin": "^3.3.0-alpha.4",
159 "@ant-design/hitu": "^0.0.0-alpha.13",
160 "@ant-design/tools": "^16.0.0-alpha.3",
161 "@docsearch/css": "^3.0.0",
162 "@emotion/babel-preset-css-prop": "^11.10.0",
163 "@emotion/css": "^11.10.5",
164 "@emotion/react": "^11.10.4",
165 "@emotion/server": "^11.4.0",
166 "@qixian.cs/github-contributors-list": "^1.0.3",
167 "@size-limit/file": "^8.0.0",
168 "@stackblitz/sdk": "^1.3.0",
169 "@testing-library/dom": "^8.17.1",
170 "@testing-library/jest-dom": "^5.16.3",
171 "@testing-library/react": "^13.0.0",
172 "@testing-library/user-event": "^14.4.2",
173 "@types/gtag.js": "^0.0.12",
174 "@types/jest": "^29.0.0",
175 "@types/jest-axe": "^3.5.3",
176 "@types/jest-environment-puppeteer": "^5.0.0",
177 "@types/jest-image-snapshot": "^5.1.0",
178 "@types/jquery": "^3.5.14",
179 "@types/lodash": "^4.14.139",
180 "@types/puppeteer": "^7.0.4",
181 "@types/qs": "^6.9.7",
182 "@types/react": "^18.0.0",
183 "@types/react-color": "^3.0.1",
184 "@types/react-copy-to-clipboard": "^5.0.0",
185 "@types/react-dom": "^18.0.0",
186 "@types/react-highlight-words": "^0.16.4",
187 "@types/react-resizable": "^3.0.0",
188 "@types/react-sticky": "^6.0.4",
189 "@types/react-window": "^1.8.2",
190 "@types/shallowequal": "^1.1.1",
191 "@types/warning": "^3.0.0",
192 "@typescript-eslint/eslint-plugin": "^5.40.0",
193 "@typescript-eslint/parser": "^5.40.0",
194 "antd-img-crop": "^4.2.8",
195 "antd-token-previewer": "^1.1.0-6",
196 "array-move": "^4.0.0",
197 "babel-plugin-add-react-displayname": "^0.0.5",
198 "bundlesize": "^0.18.0",
199 "chalk": "^4.0.0",
200 "cheerio": "1.0.0-rc.12",
201 "concurrently": "^7.0.0",
202 "cross-env": "^7.0.0",
203 "css-minimizer-webpack-plugin": "^1.3.0",
204 "dekko": "^0.2.1",
205 "docsearch-react-fork": "^0.0.0-alpha.0",
206 "docsearch.js": "^2.6.3",
207 "dumi": "^2.0.0-rc.3",
208 "duplicate-package-checker-webpack-plugin": "^3.0.0",
209 "enquire-js": "^0.2.1",
210 "esbuild-loader": "^2.13.1",
211 "eslint": "^8.0.0",
212 "eslint-config-airbnb": "^19.0.0",
213 "eslint-config-prettier": "^8.0.0",
214 "eslint-import-resolver-typescript": "^3.5.2",
215 "eslint-plugin-babel": "^5.3.0",
216 "eslint-plugin-compat": "^4.0.0",
217 "eslint-plugin-import": "^2.21.1",
218 "eslint-plugin-jest": "^27.0.1",
219 "eslint-plugin-jsx-a11y": "^6.2.1",
220 "eslint-plugin-markdown": "^3.0.0",
221 "eslint-plugin-react": "^7.31.8",
222 "eslint-plugin-react-hooks": "^4.1.2",
223 "eslint-plugin-unicorn": "^44.0.0",
224 "fast-glob": "^3.2.11",
225 "fetch-jsonp": "^1.1.3",
226 "fs-extra": "^10.0.0",
227 "full-icu": "^1.3.0",
228 "glob": "^8.0.1",
229 "highlight.js": "^11.5.0",
230 "http-server": "^14.0.0",
231 "husky": "^8.0.1",
232 "identity-obj-proxy": "^3.0.0",
233 "immer": "^9.0.1",
234 "immutability-helper": "^3.0.0",
235 "increase-memory-limit": "^1.0.7",
236 "inquirer": "^9.1.2",
237 "intersection-observer": "^0.12.0",
238 "isomorphic-fetch": "^3.0.0",
239 "jest": "^29.0.0",
240 "jest-axe": "^7.0.0",
241 "jest-environment-jsdom": "^29.0.1",
242 "jest-environment-node": "^29.0.0",
243 "jest-image-snapshot": "^6.0.0",
244 "jest-puppeteer": "^6.0.0",
245 "jquery": "^3.4.1",
246 "jsdom": "^20.0.0",
247 "jsonml-to-react-element": "^1.1.11",
248 "jsonml.js": "^0.1.0",
249 "less-vars-to-js": "^1.3.0",
250 "lint-staged": "^13.0.3",
251 "lz-string": "^1.4.4",
252 "mini-css-extract-plugin": "^1.6.2",
253 "mockdate": "^3.0.0",
254 "open": "^8.0.1",
255 "prettier": "^2.3.2",
256 "prettier-plugin-jsdoc": "^0.4.2",
257 "pretty-format": "^29.0.0",
258 "prismjs": "^1.29.0",
259 "progress": "^2.0.3",
260 "qs": "^6.10.1",
261 "rc-footer": "^0.6.6",
262 "rc-tween-one": "^3.0.3",
263 "rc-virtual-list": "^3.4.11",
264 "react": "^18.0.0",
265 "react-color": "^2.17.3",
266 "react-copy-to-clipboard": "^5.0.1",
267 "react-dnd": "^16.0.0",
268 "react-dnd-html5-backend": "^16.0.0",
269 "react-dom": "^18.0.0",
270 "react-draggable": "^4.4.3",
271 "react-fast-marquee": "^1.2.1",
272 "react-github-button": "^0.1.11",
273 "react-helmet-async": "~1.3.0",
274 "react-highlight-words": "^0.18.0",
275 "react-infinite-scroll-component": "^6.1.0",
276 "react-resizable": "^3.0.1",
277 "react-router-dom": "^6.0.2",
278 "react-sticky": "^6.0.3",
279 "react-window": "^1.8.5",
280 "remark": "^14.0.1",
281 "remark-cli": "^11.0.0",
282 "remark-lint": "^9.0.0",
283 "remark-preset-lint-recommended": "^6.0.0",
284 "remove-files-webpack-plugin": "1.5.0",
285 "rimraf": "^3.0.0",
286 "rome": "^10.0.1",
287 "scrollama": "^3.0.0",
288 "semver": "^7.3.5",
289 "simple-git": "^3.0.0",
290 "size-limit": "^8.0.0",
291 "stylelint": "^14.9.0",
292 "stylelint-config-prettier": "^9.0.2",
293 "stylelint-config-rational-order": "^0.1.2",
294 "stylelint-config-standard": "^29.0.0",
295 "stylelint-declaration-block-no-ignored-properties": "^2.1.0",
296 "stylelint-order": "^5.0.0",
297 "sylvanas": "^0.6.1",
298 "theme-switcher": "^1.0.2",
299 "ts-node": "^10.8.2",
300 "typescript": "~4.9.3",
301 "webpack-bundle-analyzer": "^4.1.0",
302 "xhr-mock": "^2.4.1",
303 "yaml-front-matter": "^4.0.0"
304 },
305 "peerDependencies": {
306 "react": ">=16.9.0",
307 "react-dom": ">=16.9.0"
308 },
309 "publishConfig": {
310 "registry": "https://registry.npmjs.org/"
311 },
312 "size-limit": [
313 {
314 "path": "./dist/antd.min.js",
315 "limit": "375 kB"
316 }
317 ],
318 "bundlesize": [
319 {
320 "path": "./dist/antd.min.js",
321 "maxSize": "377.5 kB"
322 }
323 ],
324 "tnpm": {
325 "mode": "npm"
326 },
327 "lint-staged": {
328 "*.{ts,tsx,js}": "rome format --write",
329 "*.{json,less,md}": "prettier --ignore-unknown --write"
330 }
331}