2015-05-07 18:50:36 +08:00
|
|
|
{
|
2015-06-02 15:41:43 +08:00
|
|
|
"name": "antd",
|
2023-02-13 11:38:23 +08:00
|
|
|
"version": "4.24.8",
|
2019-05-08 16:27:37 +08:00
|
|
|
"description": "An enterprise-class UI design language and React components implementation",
|
2020-07-30 17:47:27 +08:00
|
|
|
"title": "Ant Design",
|
2015-07-15 12:07:11 +08:00
|
|
|
"keywords": [
|
2015-07-17 13:58:35 +08:00
|
|
|
"ant",
|
|
|
|
"component",
|
|
|
|
"components",
|
2019-09-10 19:30:01 +08:00
|
|
|
"design",
|
2015-07-17 13:58:35 +08:00
|
|
|
"framework",
|
2019-09-10 19:30:01 +08:00
|
|
|
"frontend",
|
|
|
|
"react",
|
|
|
|
"react-component",
|
|
|
|
"ui"
|
2015-07-17 16:24:00 +08:00
|
|
|
],
|
2020-09-07 17:25:45 +08:00
|
|
|
"homepage": "https://ant.design",
|
2019-09-10 19:30:01 +08:00
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/ant-design/ant-design/issues"
|
2019-04-08 09:29:16 +08:00
|
|
|
},
|
2015-05-07 18:50:36 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2015-06-05 15:02:39 +08:00
|
|
|
"url": "https://github.com/ant-design/ant-design"
|
2015-05-07 18:50:36 +08:00
|
|
|
},
|
2019-09-10 19:30:01 +08:00
|
|
|
"license": "MIT",
|
|
|
|
"contributors": [
|
|
|
|
"ant"
|
|
|
|
],
|
2020-03-09 13:38:57 +08:00
|
|
|
"funding": {
|
|
|
|
"type": "opencollective",
|
|
|
|
"url": "https://opencollective.com/ant-design"
|
|
|
|
},
|
2015-07-17 16:24:00 +08:00
|
|
|
"files": [
|
2016-04-06 18:07:54 +08:00
|
|
|
"dist",
|
2017-05-27 14:09:07 +08:00
|
|
|
"lib",
|
|
|
|
"es"
|
2015-07-17 16:24:00 +08:00
|
|
|
],
|
2019-09-10 19:30:01 +08:00
|
|
|
"sideEffects": [
|
|
|
|
"dist/*",
|
|
|
|
"es/**/style/*",
|
|
|
|
"lib/**/style/*",
|
|
|
|
"*.less"
|
|
|
|
],
|
|
|
|
"main": "lib/index.js",
|
|
|
|
"module": "es/index.js",
|
2019-12-11 16:56:01 +08:00
|
|
|
"unpkg": "dist/antd.min.js",
|
2016-06-22 13:18:43 +08:00
|
|
|
"typings": "lib/index.d.ts",
|
2019-09-10 19:30:01 +08:00
|
|
|
"scripts": {
|
2021-04-19 11:30:51 +08:00
|
|
|
"prepare": "husky install",
|
2019-09-10 19:30:01 +08:00
|
|
|
"api-collection": "antd-tools run api-collection",
|
2020-10-10 10:34:41 +08:00
|
|
|
"authors": "node ./scripts/generate-authors",
|
2020-06-02 15:41:11 +08:00
|
|
|
"build": "npm run compile && NODE_OPTIONS='--max-old-space-size=4096' npm run dist",
|
2022-12-15 12:02:15 +08:00
|
|
|
"bundlesize": "bundlesize --enable-github-checks",
|
2022-07-26 20:26:49 +08:00
|
|
|
"size-limit": "size-limit",
|
2020-04-13 19:04:49 +08:00
|
|
|
"check-commit": "node ./scripts/check-commit",
|
2020-12-17 15:09:18 +08:00
|
|
|
"check-ts-demo": "node ./scripts/check-ts-demo",
|
2021-01-26 19:28:06 +08:00
|
|
|
"clean": "antd-tools run clean && rm -rf es lib coverage dist report.html",
|
2021-07-02 21:58:10 +08:00
|
|
|
"clean-lockfiles": "rm -rf package-lock.json yarn.lock",
|
2020-05-11 21:04:18 +08:00
|
|
|
"prestart": "npm run version",
|
2020-05-08 17:49:22 +08:00
|
|
|
"precompile": "npm run version",
|
|
|
|
"pretest": "npm run version",
|
|
|
|
"predist": "npm run version",
|
2020-05-11 21:04:18 +08:00
|
|
|
"presite": "npm run version",
|
2021-02-28 15:10:00 +08:00
|
|
|
"compile": "npm run clean && antd-tools run compile",
|
2020-11-16 22:00:00 +08:00
|
|
|
"changelog": "node ./scripts/print-changelog",
|
2020-12-01 10:42:45 +08:00
|
|
|
"predeploy": "antd-tools run clean && npm run site && cp CNAME _site && npm run site:test",
|
2022-11-15 10:54:19 +08:00
|
|
|
"deploy": "gh-pages -d _site -r git@github.com:ant-design/4x.ant.design.git -b gh-pages",
|
2019-09-10 19:30:01 +08:00
|
|
|
"deploy:china-mirror": "git checkout gh-pages && git pull origin gh-pages && git push git@gitee.com:ant-design/ant-design.git gh-pages",
|
|
|
|
"dist": "antd-tools run dist",
|
2021-01-24 19:11:52 +08:00
|
|
|
"dist:esbuild": "ESBUILD=true npm run dist",
|
2021-09-13 15:59:57 +08:00
|
|
|
"dist:esbuild-no-dup-check": "ESBUILD=true NO_DUP_CHECK=true npm run dist",
|
2020-05-21 23:27:02 +08:00
|
|
|
"lint": "npm run tsc && npm run lint:script && npm run lint:demo && npm run lint:style && npm run lint:deps && npm run lint:md",
|
2019-09-10 19:30:01 +08:00
|
|
|
"lint-fix": "npm run lint-fix:script && npm run lint-fix:demo && npm run lint-fix:style",
|
2021-02-23 10:45:11 +08:00
|
|
|
"lint-fix:demo": "npm run lint:demo -- --fix",
|
2019-09-10 19:30:01 +08:00
|
|
|
"lint-fix:script": "npm run lint:script -- --fix",
|
|
|
|
"lint-fix:style": "npm run lint:style -- --fix",
|
2020-04-21 23:21:56 +08:00
|
|
|
"lint:demo": "eslint components/*/demo/*.md",
|
2019-09-10 19:30:01 +08:00
|
|
|
"lint:deps": "antd-tools run deps-lint",
|
2020-04-21 23:40:41 +08:00
|
|
|
"lint:md": "remark . -f -q",
|
2021-09-27 21:08:39 +08:00
|
|
|
"lint:script": "eslint . --ext .js,.jsx,.ts,.tsx",
|
2021-10-22 13:35:36 +08:00
|
|
|
"lint:style": "stylelint '{site,components}/**/*.less'",
|
2020-06-02 16:28:40 +08:00
|
|
|
"pre-publish": "npm run test-all -- --skip-build",
|
2021-09-27 21:08:39 +08:00
|
|
|
"prettier": "prettier -c --write **/*",
|
2022-11-11 18:15:33 +08:00
|
|
|
"rome:format": "rome format --write .",
|
2020-05-11 23:38:54 +08:00
|
|
|
"pub": "npm run version && antd-tools run pub",
|
2020-05-08 17:49:22 +08:00
|
|
|
"prepublishOnly": "antd-tools run guard",
|
2022-01-19 15:27:05 +08:00
|
|
|
"postpublish": "node ./scripts/post-script.js",
|
2021-11-23 18:57:59 +08:00
|
|
|
"site:theme": "npm run site:theme-dark && npm run site:theme-compact",
|
2021-11-26 14:13:47 +08:00
|
|
|
"site:theme-dark": "cross-env ESBUILD=1 ANT_THEME=dark bisheng build -c ./site/bisheng.config.js",
|
|
|
|
"site:theme-compact": "cross-env ESBUILD=1 ANT_THEME=compact bisheng build -c ./site/bisheng.config.js",
|
2021-11-26 14:42:27 +08:00
|
|
|
"site": "npm run site:theme && cross-env NODE_ICU_DATA=node_modules/full-icu ESBUILD=1 bisheng build --ssr -c ./site/bisheng.config.js",
|
2019-09-10 19:30:01 +08:00
|
|
|
"sort": "npx sort-package-json",
|
|
|
|
"sort-api": "antd-tools run sort-api-table",
|
2021-11-23 18:57:59 +08:00
|
|
|
"start": "antd-tools run clean && cross-env NODE_ENV=development concurrently \"bisheng start -c ./site/bisheng.config.js\"",
|
2020-09-07 17:34:10 +08:00
|
|
|
"test": "jest --config .jest.js --cache=false",
|
2020-09-07 17:39:07 +08:00
|
|
|
"test:update": "jest --config .jest.js --cache=false -u",
|
2020-08-04 15:35:03 +08:00
|
|
|
"test-all": "sh -e ./scripts/test-all.sh",
|
2020-09-07 17:34:10 +08:00
|
|
|
"test-node": "jest --config .jest.node.js --cache=false",
|
2020-05-21 23:27:02 +08:00
|
|
|
"tsc": "tsc --noEmit",
|
2020-11-04 18:47:50 +08:00
|
|
|
"site:test": "jest --config .jest.site.js --cache=false --force-exit",
|
2022-10-19 18:14:47 +08:00
|
|
|
"test-image": "jest --config .jest.image.js --no-cache -i -u",
|
2022-04-22 22:31:39 +08:00
|
|
|
"argos": "node ./scripts/argos-upload.js",
|
2020-10-23 18:50:46 +08:00
|
|
|
"version": "node ./scripts/generate-version",
|
2022-10-06 13:51:02 +08:00
|
|
|
"install-react-16": "npm i --no-save --legacy-peer-deps react@16 react-dom@16",
|
2022-03-30 14:35:43 +08:00
|
|
|
"install-react-17": "npm i --no-save --legacy-peer-deps react@17 react-dom@17",
|
2022-11-05 16:19:37 +08:00
|
|
|
"install-react-18": "npm i --no-save --legacy-peer-deps react@18 react-dom@18 @testing-library/react@13",
|
|
|
|
"fix-memory-limit": "cross-env LIMIT=10240 increase-memory-limit"
|
2017-09-16 23:44:20 +08:00
|
|
|
},
|
2019-09-10 19:30:01 +08:00
|
|
|
"browserslist": [
|
2021-03-25 15:01:13 +08:00
|
|
|
"> 0.5%",
|
2020-01-19 13:50:32 +08:00
|
|
|
"last 2 versions",
|
2019-09-10 19:30:01 +08:00
|
|
|
"Firefox ESR",
|
2021-03-25 15:01:13 +08:00
|
|
|
"not dead",
|
|
|
|
"IE 11",
|
|
|
|
"not IE 10"
|
2019-09-10 19:30:01 +08:00
|
|
|
],
|
2015-05-07 18:50:36 +08:00
|
|
|
"dependencies": {
|
2021-02-10 17:46:25 +08:00
|
|
|
"@ant-design/colors": "^6.0.0",
|
2021-09-27 15:54:06 +08:00
|
|
|
"@ant-design/icons": "^4.7.0",
|
2022-06-09 11:31:32 +08:00
|
|
|
"@ant-design/react-slick": "~0.29.1",
|
2022-06-23 16:54:20 +08:00
|
|
|
"@babel/runtime": "^7.18.3",
|
2021-09-01 10:56:50 +08:00
|
|
|
"@ctrl/tinycolor": "^3.4.0",
|
2020-05-30 14:56:03 +08:00
|
|
|
"classnames": "^2.2.6",
|
2019-06-05 12:25:05 +08:00
|
|
|
"copy-to-clipboard": "^3.2.0",
|
2021-04-08 17:25:17 +08:00
|
|
|
"lodash": "^4.17.21",
|
2022-04-06 10:33:06 +08:00
|
|
|
"moment": "^2.29.2",
|
2022-09-13 21:24:37 +08:00
|
|
|
"rc-cascader": "~3.7.0",
|
2020-07-09 13:56:55 +08:00
|
|
|
"rc-checkbox": "~2.3.0",
|
2022-09-20 19:32:18 +08:00
|
|
|
"rc-collapse": "~3.4.2",
|
2022-10-30 18:19:36 +08:00
|
|
|
"rc-dialog": "~9.0.2",
|
2022-12-15 12:02:15 +08:00
|
|
|
"rc-drawer": "~6.1.0",
|
2022-05-30 19:06:51 +08:00
|
|
|
"rc-dropdown": "~4.0.0",
|
2022-06-15 17:30:10 +08:00
|
|
|
"rc-field-form": "~1.27.0",
|
2022-12-26 16:21:10 +08:00
|
|
|
"rc-image": "~5.13.0",
|
2022-10-27 23:22:46 +08:00
|
|
|
"rc-input": "~0.1.4",
|
2022-09-19 16:30:44 +08:00
|
|
|
"rc-input-number": "~7.3.9",
|
2022-11-23 21:00:24 +08:00
|
|
|
"rc-mentions": "~1.13.1",
|
|
|
|
"rc-menu": "~9.8.0",
|
2022-07-19 16:01:31 +08:00
|
|
|
"rc-motion": "^2.6.1",
|
2022-04-14 18:09:19 +08:00
|
|
|
"rc-notification": "~4.6.0",
|
2022-11-06 15:58:48 +08:00
|
|
|
"rc-pagination": "~3.2.0",
|
2022-11-12 16:32:41 +08:00
|
|
|
"rc-picker": "~2.7.0",
|
2022-10-31 17:49:39 +08:00
|
|
|
"rc-progress": "~3.4.1",
|
2020-11-02 14:19:43 +08:00
|
|
|
"rc-rate": "~2.9.0",
|
2022-01-11 12:04:50 +08:00
|
|
|
"rc-resize-observer": "^1.2.0",
|
2022-06-01 22:10:52 +08:00
|
|
|
"rc-segmented": "~2.1.0",
|
2022-09-17 13:06:24 +08:00
|
|
|
"rc-select": "~14.1.13",
|
2022-04-12 20:27:02 +08:00
|
|
|
"rc-slider": "~10.0.0",
|
2022-11-03 14:28:03 +08:00
|
|
|
"rc-steps": "~5.0.0-alpha.2",
|
2020-05-30 14:56:03 +08:00
|
|
|
"rc-switch": "~3.2.0",
|
2022-07-30 17:13:20 +08:00
|
|
|
"rc-table": "~7.26.0",
|
2023-02-06 11:46:57 +08:00
|
|
|
"rc-tabs": "~12.5.6",
|
2022-10-17 16:17:22 +08:00
|
|
|
"rc-textarea": "~0.4.5",
|
2022-07-13 17:14:24 +08:00
|
|
|
"rc-tooltip": "~5.2.0",
|
2022-09-13 21:24:37 +08:00
|
|
|
"rc-tree": "~5.7.0",
|
|
|
|
"rc-tree-select": "~5.5.0",
|
2021-08-12 10:54:17 +08:00
|
|
|
"rc-trigger": "^5.2.10",
|
2021-05-17 16:23:30 +08:00
|
|
|
"rc-upload": "~4.3.0",
|
2022-06-24 01:13:16 +08:00
|
|
|
"rc-util": "^5.22.5",
|
2021-08-05 15:30:03 +08:00
|
|
|
"scroll-into-view-if-needed": "^2.2.25"
|
2015-05-21 20:36:13 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-06-10 17:06:07 +08:00
|
|
|
"@ant-design/bisheng-plugin": "^3.3.0-alpha.4",
|
2019-12-26 15:27:52 +08:00
|
|
|
"@ant-design/hitu": "^0.0.0-alpha.13",
|
2022-09-09 15:51:35 +08:00
|
|
|
"@ant-design/tools": "^15.1.2",
|
2022-04-08 22:55:42 +08:00
|
|
|
"@docsearch/css": "^3.0.0",
|
2019-12-17 17:58:58 +08:00
|
|
|
"@qixian.cs/github-contributors-list": "^1.0.3",
|
2022-07-31 18:03:36 +08:00
|
|
|
"@size-limit/file": "^8.0.0",
|
2019-11-13 17:29:46 +08:00
|
|
|
"@stackblitz/sdk": "^1.3.0",
|
2023-02-21 16:52:48 +08:00
|
|
|
"@testing-library/dom": "^9.0.0",
|
2022-04-06 11:07:15 +08:00
|
|
|
"@testing-library/jest-dom": "^5.16.3",
|
|
|
|
"@testing-library/react": "^12.0.0",
|
2022-08-17 13:20:04 +08:00
|
|
|
"@testing-library/user-event": "^14.4.2",
|
2022-10-06 19:57:07 +08:00
|
|
|
"@types/gtag.js": "^0.0.12",
|
2022-08-30 23:53:24 +08:00
|
|
|
"@types/jest": "^29.0.0",
|
2021-12-02 20:25:31 +08:00
|
|
|
"@types/jest-axe": "^3.5.3",
|
2022-01-30 16:09:53 +08:00
|
|
|
"@types/jest-environment-puppeteer": "^5.0.0",
|
2022-06-25 16:04:13 +08:00
|
|
|
"@types/jest-image-snapshot": "^5.1.0",
|
2022-10-08 16:17:20 +08:00
|
|
|
"@types/jquery": "^3.5.14",
|
2019-09-24 14:42:58 +08:00
|
|
|
"@types/lodash": "^4.14.139",
|
2022-11-03 20:00:42 +08:00
|
|
|
"@types/puppeteer": "^7.0.4",
|
2022-05-26 13:03:12 +08:00
|
|
|
"@types/qs": "^6.9.7",
|
2022-04-08 22:55:42 +08:00
|
|
|
"@types/react": "^18.0.0",
|
2020-01-09 15:23:52 +08:00
|
|
|
"@types/react-color": "^3.0.1",
|
2020-12-10 15:09:56 +08:00
|
|
|
"@types/react-copy-to-clipboard": "^5.0.0",
|
2022-04-08 20:14:15 +08:00
|
|
|
"@types/react-dom": "^18.0.0",
|
2022-05-19 09:46:26 +08:00
|
|
|
"@types/react-highlight-words": "^0.16.4",
|
2022-05-20 19:46:46 +08:00
|
|
|
"@types/react-resizable": "^3.0.0",
|
2022-05-19 09:46:26 +08:00
|
|
|
"@types/react-sticky": "^6.0.4",
|
2020-12-17 15:09:18 +08:00
|
|
|
"@types/react-window": "^1.8.2",
|
2019-01-12 19:22:06 +08:00
|
|
|
"@types/warning": "^3.0.0",
|
2022-10-11 16:12:12 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.40.0",
|
|
|
|
"@typescript-eslint/parser": "^5.40.0",
|
2022-11-18 16:18:44 +08:00
|
|
|
"antd": "4.x",
|
2022-10-18 10:33:29 +08:00
|
|
|
"antd-img-crop": "^4.2.8",
|
2021-09-26 18:21:15 +08:00
|
|
|
"array-move": "^4.0.0",
|
2019-02-26 16:16:23 +08:00
|
|
|
"babel-plugin-add-react-displayname": "^0.0.5",
|
2022-06-10 17:06:07 +08:00
|
|
|
"bisheng": "^3.7.0-alpha.4",
|
2018-10-06 20:30:27 +08:00
|
|
|
"bisheng-plugin-description": "^0.1.4",
|
2022-04-03 23:27:45 +08:00
|
|
|
"bisheng-plugin-react": "^1.2.0",
|
2018-10-06 20:30:27 +08:00
|
|
|
"bisheng-plugin-toc": "^0.4.4",
|
2022-12-15 12:02:15 +08:00
|
|
|
"bundlesize2": "^0.0.31",
|
2020-04-03 11:11:30 +08:00
|
|
|
"chalk": "^4.0.0",
|
2022-06-27 21:56:06 +08:00
|
|
|
"cheerio": "1.0.0-rc.12",
|
2022-01-10 09:38:50 +08:00
|
|
|
"concurrently": "^7.0.0",
|
2020-01-29 21:43:41 +08:00
|
|
|
"cross-env": "^7.0.0",
|
2022-05-14 17:43:55 +08:00
|
|
|
"css-minimizer-webpack-plugin": "^1.3.0",
|
2018-10-06 20:30:27 +08:00
|
|
|
"dekko": "^0.2.1",
|
2022-04-22 22:31:39 +08:00
|
|
|
"docsearch-react-fork": "^0.0.0-alpha.0",
|
2019-06-05 12:25:05 +08:00
|
|
|
"docsearch.js": "^2.6.3",
|
2021-08-05 15:30:03 +08:00
|
|
|
"duplicate-package-checker-webpack-plugin": "^3.0.0",
|
2018-04-02 15:42:34 +08:00
|
|
|
"enquire-js": "^0.2.1",
|
2021-06-01 10:11:24 +08:00
|
|
|
"esbuild-loader": "^2.13.1",
|
2021-10-15 11:19:14 +08:00
|
|
|
"eslint": "^8.0.0",
|
2021-11-26 12:18:21 +08:00
|
|
|
"eslint-config-airbnb": "^19.0.0",
|
2021-02-23 10:45:11 +08:00
|
|
|
"eslint-config-prettier": "^8.0.0",
|
2019-06-05 12:25:05 +08:00
|
|
|
"eslint-plugin-babel": "^5.3.0",
|
2023-02-13 11:08:05 +08:00
|
|
|
"eslint-plugin-compat": "~4.0.0",
|
2020-06-08 18:01:50 +08:00
|
|
|
"eslint-plugin-import": "^2.21.1",
|
2022-08-30 10:57:13 +08:00
|
|
|
"eslint-plugin-jest": "^27.0.1",
|
2019-06-05 12:25:05 +08:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.2.1",
|
2022-07-17 18:57:36 +08:00
|
|
|
"eslint-plugin-markdown": "^3.0.0",
|
2022-10-08 17:04:47 +08:00
|
|
|
"eslint-plugin-react": "^7.31.8",
|
2020-09-16 11:43:55 +08:00
|
|
|
"eslint-plugin-react-hooks": "^4.1.2",
|
2022-10-02 16:38:16 +08:00
|
|
|
"eslint-plugin-unicorn": "^44.0.0",
|
2022-04-22 22:31:39 +08:00
|
|
|
"fast-glob": "^3.2.11",
|
2018-10-06 20:30:27 +08:00
|
|
|
"fetch-jsonp": "^1.1.3",
|
2021-05-05 22:46:15 +08:00
|
|
|
"fs-extra": "^10.0.0",
|
2019-08-16 13:34:35 +08:00
|
|
|
"full-icu": "^1.3.0",
|
2022-04-13 21:28:45 +08:00
|
|
|
"glob": "^8.0.1",
|
2021-10-20 11:18:08 +08:00
|
|
|
"http-server": "^14.0.0",
|
2022-05-09 19:57:44 +08:00
|
|
|
"husky": "^8.0.1",
|
2020-06-11 09:59:01 +08:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2021-03-24 12:22:52 +08:00
|
|
|
"immer": "^9.0.1",
|
2019-01-29 00:05:16 +08:00
|
|
|
"immutability-helper": "^3.0.0",
|
2022-11-05 16:19:37 +08:00
|
|
|
"increase-memory-limit": "^1.0.7",
|
2022-09-20 10:00:05 +08:00
|
|
|
"inquirer": "^9.1.2",
|
2020-12-14 10:54:25 +08:00
|
|
|
"intersection-observer": "^0.12.0",
|
2021-09-26 18:21:15 +08:00
|
|
|
"isomorphic-fetch": "^3.0.0",
|
2023-02-13 11:08:05 +08:00
|
|
|
"jest": "^29.4.1",
|
2022-11-04 13:37:46 +08:00
|
|
|
"jest-axe": "^7.0.0",
|
2022-08-29 09:50:04 +08:00
|
|
|
"jest-environment-jsdom": "^29.0.1",
|
2022-08-28 22:28:04 +08:00
|
|
|
"jest-environment-node": "^29.0.0",
|
2022-11-04 23:57:55 +08:00
|
|
|
"jest-image-snapshot": "^6.0.0",
|
2021-09-23 22:10:00 +08:00
|
|
|
"jest-puppeteer": "^6.0.0",
|
2020-01-08 23:01:15 +08:00
|
|
|
"jquery": "^3.4.1",
|
2022-06-21 10:35:17 +08:00
|
|
|
"jsdom": "^20.0.0",
|
2016-04-06 16:11:30 +08:00
|
|
|
"jsonml.js": "^0.1.0",
|
2019-12-03 16:47:12 +08:00
|
|
|
"less-vars-to-js": "^1.3.0",
|
2022-11-11 18:15:33 +08:00
|
|
|
"lint-staged": "^13.0.3",
|
2017-12-29 17:02:45 +08:00
|
|
|
"lz-string": "^1.4.4",
|
2022-05-14 17:43:55 +08:00
|
|
|
"mini-css-extract-plugin": "^1.6.2",
|
2020-05-21 23:27:02 +08:00
|
|
|
"mockdate": "^3.0.0",
|
2021-03-03 15:32:56 +08:00
|
|
|
"open": "^8.0.1",
|
2021-06-28 23:19:18 +08:00
|
|
|
"prettier": "^2.3.2",
|
2022-08-24 21:24:15 +08:00
|
|
|
"prettier-plugin-jsdoc": "^0.4.2",
|
2022-08-28 22:28:19 +08:00
|
|
|
"pretty-format": "^29.0.0",
|
2021-12-03 23:54:08 +08:00
|
|
|
"qs": "^6.10.1",
|
2021-03-09 14:45:54 +08:00
|
|
|
"rc-footer": "^0.6.6",
|
2021-11-10 09:56:16 +08:00
|
|
|
"rc-tween-one": "^3.0.3",
|
2022-10-27 23:22:46 +08:00
|
|
|
"rc-virtual-list": "^3.4.11",
|
2022-03-30 14:35:43 +08:00
|
|
|
"react": "^17.0.0",
|
2019-06-05 12:25:05 +08:00
|
|
|
"react-color": "^2.17.3",
|
2018-10-06 20:30:27 +08:00
|
|
|
"react-copy-to-clipboard": "^5.0.1",
|
2022-10-08 15:11:41 +08:00
|
|
|
"react-dnd": "^16.0.0",
|
|
|
|
"react-dnd-html5-backend": "^16.0.0",
|
2022-03-30 14:35:43 +08:00
|
|
|
"react-dom": "^17.0.0",
|
2020-09-03 12:36:06 +08:00
|
|
|
"react-draggable": "^4.4.3",
|
2021-10-14 15:48:33 +08:00
|
|
|
"react-fast-marquee": "^1.2.1",
|
2018-10-06 20:30:27 +08:00
|
|
|
"react-github-button": "^0.1.11",
|
2022-04-12 22:03:40 +08:00
|
|
|
"react-helmet-async": "~1.3.0",
|
2022-04-11 09:56:02 +08:00
|
|
|
"react-highlight-words": "^0.18.0",
|
2021-10-13 18:59:17 +08:00
|
|
|
"react-infinite-scroll-component": "^6.1.0",
|
2022-05-20 20:32:12 +08:00
|
|
|
"react-intl": "^6.0.1",
|
2021-05-17 08:58:27 +08:00
|
|
|
"react-resizable": "^3.0.1",
|
2021-11-11 21:34:07 +08:00
|
|
|
"react-router-dom": "^6.0.2",
|
2021-03-19 15:56:20 +08:00
|
|
|
"react-sortable-hoc": "^2.0.0",
|
2018-08-28 18:56:25 +08:00
|
|
|
"react-sticky": "^6.0.3",
|
2019-11-15 14:35:25 +08:00
|
|
|
"react-window": "^1.8.5",
|
2021-08-04 13:46:11 +08:00
|
|
|
"remark": "^14.0.1",
|
2022-06-27 01:16:52 +08:00
|
|
|
"remark-cli": "^11.0.0",
|
2021-08-16 11:50:32 +08:00
|
|
|
"remark-lint": "^9.0.0",
|
2021-08-16 11:04:57 +08:00
|
|
|
"remark-preset-lint-recommended": "^6.0.0",
|
2022-08-30 17:51:54 +08:00
|
|
|
"remove-files-webpack-plugin": "1.5.0",
|
2019-08-17 22:42:14 +08:00
|
|
|
"rimraf": "^3.0.0",
|
2022-11-11 18:15:33 +08:00
|
|
|
"rome": "^10.0.1",
|
2021-12-26 22:58:31 +08:00
|
|
|
"scrollama": "^3.0.0",
|
2022-01-19 15:27:05 +08:00
|
|
|
"semver": "^7.3.5",
|
2022-01-24 10:47:49 +08:00
|
|
|
"simple-git": "^3.0.0",
|
2022-07-31 18:03:28 +08:00
|
|
|
"size-limit": "^8.0.0",
|
2022-06-11 15:16:06 +08:00
|
|
|
"stylelint": "^14.9.0",
|
2021-10-13 15:38:59 +08:00
|
|
|
"stylelint-config-prettier": "^9.0.2",
|
2019-06-05 12:25:05 +08:00
|
|
|
"stylelint-config-rational-order": "^0.1.2",
|
2022-11-06 17:39:11 +08:00
|
|
|
"stylelint-config-standard": "^29.0.0",
|
2019-06-05 12:25:05 +08:00
|
|
|
"stylelint-declaration-block-no-ignored-properties": "^2.1.0",
|
2021-10-22 10:16:47 +08:00
|
|
|
"stylelint-order": "^5.0.0",
|
2020-01-02 18:24:34 +08:00
|
|
|
"theme-switcher": "^1.0.2",
|
2022-11-17 13:02:49 +08:00
|
|
|
"typescript": "~4.9.3",
|
2020-11-10 13:03:03 +08:00
|
|
|
"webpack-bundle-analyzer": "^4.1.0",
|
2018-10-06 20:30:27 +08:00
|
|
|
"xhr-mock": "^2.4.1",
|
2019-08-18 18:58:13 +08:00
|
|
|
"yaml-front-matter": "^4.0.0"
|
2015-05-07 19:54:54 +08:00
|
|
|
},
|
2019-09-10 19:30:01 +08:00
|
|
|
"peerDependencies": {
|
2020-02-28 10:51:18 +08:00
|
|
|
"react": ">=16.9.0",
|
|
|
|
"react-dom": ">=16.9.0"
|
2017-02-23 22:12:52 +08:00
|
|
|
},
|
2019-09-10 19:30:01 +08:00
|
|
|
"publishConfig": {
|
|
|
|
"registry": "https://registry.npmjs.org/"
|
2015-06-11 16:35:36 +08:00
|
|
|
},
|
2022-07-26 20:26:49 +08:00
|
|
|
"size-limit": [
|
|
|
|
{
|
|
|
|
"path": "./dist/antd.min.js",
|
2022-12-07 11:10:46 +08:00
|
|
|
"limit": "285 KiB"
|
2022-07-26 20:26:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "./dist/antd.min.css",
|
2022-12-07 11:10:46 +08:00
|
|
|
"limit": "70 KiB"
|
2022-07-26 20:26:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "./dist/antd.dark.min.css",
|
2022-12-07 11:10:46 +08:00
|
|
|
"limit": "70 KiB"
|
2022-07-26 20:26:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "./dist/antd.compact.min.css",
|
2022-12-07 11:10:46 +08:00
|
|
|
"limit": "70 KiB"
|
2022-07-26 20:26:49 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "./dist/antd.variable.min.css",
|
2022-12-07 11:10:46 +08:00
|
|
|
"limit": "70 KiB"
|
2022-07-26 20:26:49 +08:00
|
|
|
}
|
|
|
|
],
|
2019-09-10 19:30:01 +08:00
|
|
|
"bundlesize": [
|
|
|
|
{
|
|
|
|
"path": "./dist/antd.min.js",
|
2022-12-06 11:43:45 +08:00
|
|
|
"maxSize": "285 kB"
|
2019-09-10 19:30:01 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "./dist/antd.min.css",
|
2022-12-06 11:43:45 +08:00
|
|
|
"maxSize": "70 kB"
|
2019-12-26 15:48:28 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "./dist/antd.dark.min.css",
|
2022-12-06 11:43:45 +08:00
|
|
|
"maxSize": "70 kB"
|
2020-03-29 10:39:46 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "./dist/antd.compact.min.css",
|
2022-12-06 11:43:45 +08:00
|
|
|
"maxSize": "70 kB"
|
2021-09-01 10:56:50 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "./dist/antd.variable.min.css",
|
2022-12-06 11:43:45 +08:00
|
|
|
"maxSize": "70 kB"
|
2019-09-10 19:30:01 +08:00
|
|
|
}
|
2019-08-28 14:14:00 +08:00
|
|
|
],
|
2020-04-26 10:55:06 +08:00
|
|
|
"tnpm": {
|
|
|
|
"mode": "npm"
|
2022-11-11 18:15:33 +08:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2022-11-15 13:36:23 +08:00
|
|
|
"*.{ts,tsx,js}": "rome format --write",
|
|
|
|
"*.{json,less,md}": "prettier --ignore-unknown --write"
|
2020-07-30 17:47:27 +08:00
|
|
|
}
|
2020-02-25 13:19:02 +08:00
|
|
|
}
|