1 | {
|
2 | "name": "antd",
|
3 | "version": "4.16.3",
|
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 | "lib",
|
36 | "es"
|
37 | ],
|
38 | "sideEffects": [
|
39 | "dist/*",
|
40 | "es/**/style/*",
|
41 | "lib/**/style/*",
|
42 | "*.less"
|
43 | ],
|
44 | "main": "lib/index.js",
|
45 | "module": "es/index.js",
|
46 | "unpkg": "dist/antd.min.js",
|
47 | "typings": "lib/index.d.ts",
|
48 | "scripts": {
|
49 | "prepare": "husky install",
|
50 | "api-collection": "antd-tools run api-collection",
|
51 | "authors": "node ./scripts/generate-authors",
|
52 | "build": "npm run compile && NODE_OPTIONS='--max-old-space-size=4096' npm run dist",
|
53 | "bundlesize": "bundlesize",
|
54 | "check-commit": "node ./scripts/check-commit",
|
55 | "check-ts-demo": "node ./scripts/check-ts-demo",
|
56 | "clean": "antd-tools run clean && rm -rf es lib coverage dist report.html",
|
57 | "prestart": "npm run version",
|
58 | "precompile": "npm run version",
|
59 | "pretest": "npm run version",
|
60 | "predist": "npm run version",
|
61 | "presite": "npm run version",
|
62 | "color-less": "node ./scripts/generate-color-less",
|
63 | "compile": "npm run clean && antd-tools run compile",
|
64 | "compile:less": "antd-tools run compile:less",
|
65 | "changelog": "node ./scripts/print-changelog",
|
66 | "predeploy": "antd-tools run clean && npm run site && cp CNAME _site && npm run site:test",
|
67 | "deploy": "bisheng gh-pages --push-only --dotfiles",
|
68 | "deploy:china-mirror": "git checkout gh-pages && git pull origin gh-pages && git push git@gitee.com:ant-design/ant-design.git gh-pages",
|
69 | "dist": "antd-tools run dist",
|
70 | "dist:esbuild": "ESBUILD=true npm run dist",
|
71 | "lint": "npm run tsc && npm run lint:script && npm run lint:demo && npm run lint:style && npm run lint:deps && npm run lint:md",
|
72 | "lint-fix": "npm run lint-fix:script && npm run lint-fix:demo && npm run lint-fix:style",
|
73 | "lint-fix:demo": "npm run lint:demo -- --fix",
|
74 | "lint-fix:script": "npm run lint:script -- --fix",
|
75 | "lint-fix:style": "npm run lint:style -- --fix",
|
76 | "lint:demo": "eslint components/*/demo/*.md",
|
77 | "lint:deps": "antd-tools run deps-lint",
|
78 | "lint:md": "remark . -f -q",
|
79 | "lint:script": "eslint . --ext '.js,.jsx,.ts,.tsx'",
|
80 | "lint:style": "stylelint '{site,components}/**/*.less' --syntax less",
|
81 | "pre-publish": "npm run test-all -- --skip-build",
|
82 | "prettier": "prettier -c --write '**/*'",
|
83 | "pretty-quick": "pretty-quick",
|
84 | "pub": "npm run version && antd-tools run pub",
|
85 | "prepublishOnly": "antd-tools run guard",
|
86 | "site": "cross-env NODE_ICU_DATA=node_modules/full-icu ESBUILD=1 concurrently \"bisheng build --ssr -c ./site/bisheng.config.js\" \"npm run color-less\"",
|
87 | "sort": "npx sort-package-json",
|
88 | "sort-api": "antd-tools run sort-api-table",
|
89 | "start": "antd-tools run clean && cross-env NODE_ENV=development concurrently \"npm run color-less\" \"bisheng start -c ./site/bisheng.config.js\"",
|
90 | "test": "jest --config .jest.js --cache=false",
|
91 | "test:update": "jest --config .jest.js --cache=false -u",
|
92 | "test-all": "sh -e ./scripts/test-all.sh",
|
93 | "test-node": "jest --config .jest.node.js --cache=false",
|
94 | "tsc": "tsc --noEmit",
|
95 | "site:test": "jest --config .jest.site.js --cache=false --force-exit",
|
96 | "test-image": "npm run compile:less && docker-compose run tests",
|
97 | "version": "node ./scripts/generate-version",
|
98 | "install-react-16": "npm i --no-save react@16 react-dom@16 react-test-renderer@16 enzyme-adapter-react-16",
|
99 | "argos": "argos upload imageSnapshots"
|
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/icons": "^4.6.2",
|
112 | "@ant-design/react-slick": "~0.28.1",
|
113 | "@babel/runtime": "^7.12.5",
|
114 | "array-tree-filter": "^2.1.0",
|
115 | "classnames": "^2.2.6",
|
116 | "copy-to-clipboard": "^3.2.0",
|
117 | "lodash": "^4.17.21",
|
118 | "moment": "^2.25.3",
|
119 | "rc-cascader": "~1.4.0",
|
120 | "rc-checkbox": "~2.3.0",
|
121 | "rc-collapse": "~3.1.0",
|
122 | "rc-dialog": "~8.5.1",
|
123 | "rc-drawer": "~4.3.0",
|
124 | "rc-dropdown": "~3.2.0",
|
125 | "rc-field-form": "~1.20.0",
|
126 | "rc-image": "~5.2.4",
|
127 | "rc-input-number": "~7.1.0",
|
128 | "rc-mentions": "~1.6.1",
|
129 | "rc-menu": "~9.0.9",
|
130 | "rc-motion": "^2.4.0",
|
131 | "rc-notification": "~4.5.7",
|
132 | "rc-pagination": "~3.1.6",
|
133 | "rc-picker": "~2.5.10",
|
134 | "rc-progress": "~3.1.0",
|
135 | "rc-rate": "~2.9.0",
|
136 | "rc-resize-observer": "^1.0.0",
|
137 | "rc-select": "~12.1.6",
|
138 | "rc-slider": "~9.7.1",
|
139 | "rc-steps": "~4.1.0",
|
140 | "rc-switch": "~3.2.0",
|
141 | "rc-table": "~7.15.1",
|
142 | "rc-tabs": "~11.9.1",
|
143 | "rc-textarea": "~0.3.0",
|
144 | "rc-tooltip": "~5.1.1",
|
145 | "rc-tree": "~4.1.0",
|
146 | "rc-tree-select": "~4.3.0",
|
147 | "rc-trigger": "^5.2.1",
|
148 | "rc-upload": "~4.3.0",
|
149 | "rc-util": "^5.13.1",
|
150 | "scroll-into-view-if-needed": "^2.2.25",
|
151 | "warning": "^4.0.3"
|
152 | },
|
153 | "devDependencies": {
|
154 | "@ant-design/bisheng-plugin": "^2.3.0",
|
155 | "@ant-design/hitu": "^0.0.0-alpha.13",
|
156 | "@ant-design/tools": "^13.4.1-beta.0",
|
157 | "@qixian.cs/github-contributors-list": "^1.0.3",
|
158 | "@stackblitz/sdk": "^1.3.0",
|
159 | "@types/classnames": "^2.2.8",
|
160 | "@types/enzyme": "^3.10.5",
|
161 | "@types/gtag.js": "^0.0.5",
|
162 | "@types/jest": "^26.0.0",
|
163 | "@types/jest-environment-puppeteer": "^4.4.0",
|
164 | "@types/jest-image-snapshot": "^4.1.0",
|
165 | "@types/lodash": "^4.14.139",
|
166 | "@types/puppeteer": "^5.4.0",
|
167 | "@types/react": "^17.0.0",
|
168 | "@types/react-color": "^3.0.1",
|
169 | "@types/react-copy-to-clipboard": "^5.0.0",
|
170 | "@types/react-dom": "^17.0.0",
|
171 | "@types/react-window": "^1.8.2",
|
172 | "@types/warning": "^3.0.0",
|
173 | "@typescript-eslint/eslint-plugin": "^4.1.1",
|
174 | "@typescript-eslint/parser": "^4.1.1",
|
175 | "@wojtekmaj/enzyme-adapter-react-17": "^0.6.0",
|
176 | "antd-img-crop": "^3.1.1",
|
177 | "antd-pro-merge-less": "^3.0.11",
|
178 | "antd-theme-generator": "^1.2.3",
|
179 | "argos-cli": "^0.3.0",
|
180 | "array-move": "^3.0.0",
|
181 | "babel-plugin-add-react-displayname": "^0.0.5",
|
182 | "bisheng": "^3.0.0",
|
183 | "bisheng-plugin-description": "^0.1.4",
|
184 | "bisheng-plugin-react": "^1.1.2",
|
185 | "bisheng-plugin-toc": "^0.4.4",
|
186 | "bundlesize": "^0.18.0",
|
187 | "chalk": "^4.0.0",
|
188 | "cheerio": "^1.0.0-rc.3",
|
189 | "concurrently": "^6.0.0",
|
190 | "cross-env": "^7.0.0",
|
191 | "dekko": "^0.2.1",
|
192 | "docsearch.js": "^2.6.3",
|
193 | "enquire-js": "^0.2.1",
|
194 | "enzyme": "^3.10.0",
|
195 | "enzyme-to-json": "^3.6.0",
|
196 | "esbuild-loader": "^2.13.1",
|
197 | "eslint": "^7.9.0",
|
198 | "eslint-config-airbnb": "^18.0.0",
|
199 | "eslint-config-prettier": "^8.0.0",
|
200 | "eslint-plugin-babel": "^5.3.0",
|
201 | "eslint-plugin-compat": "^3.9.0",
|
202 | "eslint-plugin-import": "^2.21.1",
|
203 | "eslint-plugin-jest": "^24.0.1",
|
204 | "eslint-plugin-jsx-a11y": "^6.2.1",
|
205 | "eslint-plugin-markdown": "^2.0.0",
|
206 | "eslint-plugin-react": "^7.20.6",
|
207 | "eslint-plugin-react-hooks": "^4.1.2",
|
208 | "eslint-plugin-unicorn": "^33.0.0",
|
209 | "fetch-jsonp": "^1.1.3",
|
210 | "fs-extra": "^10.0.0",
|
211 | "full-icu": "^1.3.0",
|
212 | "glob": "^7.1.4",
|
213 | "http-server": "^0.12.0",
|
214 | "husky": "^6.0.0",
|
215 | "identity-obj-proxy": "^3.0.0",
|
216 | "ignore-emit-webpack-plugin": "^2.0.6",
|
217 | "immer": "^9.0.1",
|
218 | "immutability-helper": "^3.0.0",
|
219 | "inquirer": "^8.0.0",
|
220 | "intersection-observer": "^0.12.0",
|
221 | "jest": "^27.0.3",
|
222 | "jest-image-snapshot": "^4.0.0",
|
223 | "jest-puppeteer": "^5.0.1",
|
224 | "jquery": "^3.4.1",
|
225 | "jsdom": "^16.0.0",
|
226 | "jsonml.js": "^0.1.0",
|
227 | "less-vars-to-js": "^1.3.0",
|
228 | "lz-string": "^1.4.4",
|
229 | "mockdate": "^3.0.0",
|
230 | "node-fetch": "^2.6.0",
|
231 | "open": "^8.0.1",
|
232 | "prettier": "^2.2.0",
|
233 | "prettier-plugin-jsdoc": "^0.3.0",
|
234 | "pretty-quick": "^3.0.0",
|
235 | "querystring": "^0.2.0",
|
236 | "rc-footer": "^0.6.6",
|
237 | "rc-queue-anim": "^1.6.12",
|
238 | "rc-scroll-anim": "^2.5.8",
|
239 | "rc-tween-one": "^2.4.1",
|
240 | "rc-virtual-list": "^3.2.4",
|
241 | "react": "^17.0.1",
|
242 | "react-color": "^2.17.3",
|
243 | "react-copy-to-clipboard": "^5.0.1",
|
244 | "react-dnd": "^14.0.1",
|
245 | "react-dnd-html5-backend": "^14.0.0",
|
246 | "react-dom": "^17.0.1",
|
247 | "react-draggable": "^4.4.3",
|
248 | "react-github-button": "^0.1.11",
|
249 | "react-helmet-async": "^1.0.4",
|
250 | "react-highlight-words": "^0.17.0",
|
251 | "react-infinite-scroller": "^1.2.4",
|
252 | "react-intl": "^5.3.0",
|
253 | "react-resizable": "^3.0.1",
|
254 | "react-router-dom": "^5.0.1",
|
255 | "react-sortable-hoc": "^2.0.0",
|
256 | "react-sticky": "^6.0.3",
|
257 | "react-test-renderer": "^17.0.1",
|
258 | "react-text-loop": "^2.3.0",
|
259 | "react-virtualized": "^9.22.0",
|
260 | "react-window": "^1.8.5",
|
261 | "remark": "^13.0.0",
|
262 | "remark-cli": "^9.0.0",
|
263 | "remark-lint": "^8.0.0",
|
264 | "remark-preset-lint-recommended": "^5.0.0",
|
265 | "reqwest": "^2.0.5",
|
266 | "rimraf": "^3.0.0",
|
267 | "scrollama": "^2.0.0",
|
268 | "simple-git": "^2.23.0",
|
269 | "string-replace-loader": "^3.0.1",
|
270 | "stylelint": "^13.0.0",
|
271 | "stylelint-config-prettier": "^8.0.0",
|
272 | "stylelint-config-rational-order": "^0.1.2",
|
273 | "stylelint-config-standard": "^22.0.0",
|
274 | "stylelint-declaration-block-no-ignored-properties": "^2.1.0",
|
275 | "stylelint-order": "^4.0.0",
|
276 | "theme-switcher": "^1.0.2",
|
277 | "typescript": "~4.3.2",
|
278 | "webpack-bundle-analyzer": "^4.1.0",
|
279 | "xhr-mock": "^2.4.1",
|
280 | "xhr2": "^0.2.0",
|
281 | "yaml-front-matter": "^4.0.0"
|
282 | },
|
283 | "peerDependencies": {
|
284 | "react": ">=16.9.0",
|
285 | "react-dom": ">=16.9.0"
|
286 | },
|
287 | "publishConfig": {
|
288 | "registry": "https://registry.npmjs.org/"
|
289 | },
|
290 | "bundlesize": [
|
291 | {
|
292 | "path": "./dist/antd.min.js",
|
293 | "maxSize": "270 kB"
|
294 | },
|
295 | {
|
296 | "path": "./dist/antd.min.css",
|
297 | "maxSize": "65 kB"
|
298 | },
|
299 | {
|
300 | "path": "./dist/antd.dark.min.css",
|
301 | "maxSize": "67 kB"
|
302 | },
|
303 | {
|
304 | "path": "./dist/antd.compact.min.css",
|
305 | "maxSize": "65 kB"
|
306 | }
|
307 | ],
|
308 | "tnpm": {
|
309 | "mode": "npm"
|
310 | }
|
311 | }
|