UNPKG

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