mirror of
https://github.com/ant-design/pro-components.git
synced 2024-10-23 09:23:51 +08:00
180 lines
6.1 KiB
JSON
180 lines
6.1 KiB
JSON
{
|
|
"name": "pro-components",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/ant-design/pro-components.git"
|
|
},
|
|
"license": "MIT",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"bootstrap": "node ./scripts/bootstrap.js",
|
|
"build": "npm run version && npm run build-components && node ./scripts/readApi.mjs",
|
|
"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 && node ./scripts/release.js",
|
|
"site": "npm run build && 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 vitest --run",
|
|
"test:coverage": "npm run version && cross-env TZ=UTC TEST_LOG=none vitest --coverage",
|
|
"test:update": "npm run version && cross-env TZ=UTC vitest -u",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"@ant-design/antd-theme-variable": "^1.0.0",
|
|
"@ant-design/cssinjs": "^1.21.1",
|
|
"@ant-design/icons": "^5.5.1",
|
|
"@babel/core": "^7.25.8",
|
|
"@babel/eslint-plugin": "^7.25.7",
|
|
"@babel/parser": "^7.25.8",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
|
|
"@babel/preset-env": "^7.25.8",
|
|
"@babel/preset-react": "^7.25.7",
|
|
"@babel/preset-typescript": "^7.25.7",
|
|
"@babel/traverse": "^7.25.7",
|
|
"@emotion/babel-plugin": "^11.12.0",
|
|
"@emotion/cache": "^11.13.1",
|
|
"@emotion/css": "^11.13.4",
|
|
"@emotion/serialize": "^1.3.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.17.0",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@testing-library/react-hooks": "^8.0.1",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/chroma-js": "^2.4.4",
|
|
"@types/glob": "^8.1.0",
|
|
"@types/history": "^4.7.11",
|
|
"@types/lodash": "^4.17.10",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/mockjs": "^1.0.10",
|
|
"@types/node": "^14.18.63",
|
|
"@types/react": "^18.3.11",
|
|
"@types/react-dom": "^18.3.1",
|
|
"@types/react-helmet": "^6.1.11",
|
|
"@types/react-responsive": "^8.0.8",
|
|
"@types/shallowequal": "^1.1.5",
|
|
"@types/warning": "^3.0.3",
|
|
"@umijs/babel-preset-umi": "^3.5.43",
|
|
"@umijs/doctor": "^1.2.1",
|
|
"@umijs/fabric": "^4.0.1",
|
|
"@umijs/plugin-analytics": "^0.2.4",
|
|
"@umijs/test": "^3.5.43",
|
|
"@umijs/test-utils": "^3.5.43",
|
|
"@umijs/utils": "^4.3.27",
|
|
"@vitest/coverage-istanbul": "^0.34.6",
|
|
"animated-scroll-to": "^2.3.0",
|
|
"antd": "^5.21.4",
|
|
"antd-style": "^3.7.0",
|
|
"babel-loader": "^9.2.1",
|
|
"babel-types": "^6.26.0",
|
|
"chalk": "^4.1.2",
|
|
"chroma-js": "^2.6.0",
|
|
"copy-to-clipboard": "^3.3.3",
|
|
"cross-env": "^7.0.3",
|
|
"dayjs": "^1.11.13",
|
|
"dumi": "~2.4.13",
|
|
"dumi-theme-antd-style": "~0.31.1",
|
|
"esbuild": "^0.15.18",
|
|
"eslint": "^8.57.1",
|
|
"eslint-plugin-jest": "^27.9.0",
|
|
"eslint-plugin-react": "^7.37.1",
|
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
"eslint-plugin-unicorn": "^47.0.0",
|
|
"execa": "^5.1.1",
|
|
"express": "^4.21.1",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"father": "^4.5.0",
|
|
"gh-pages": "^5.0.0",
|
|
"glob": "^8.1.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"inquirer": "^8.2.6",
|
|
"jest-canvas-mock": "^2.5.2",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"jsdom": "^19.0.0",
|
|
"lerna": "^3.22.1",
|
|
"lint-staged": "^10.5.4",
|
|
"lodash": "^4.17.21",
|
|
"lodash-es": "^4.17.21",
|
|
"mockdate": "^3.0.5",
|
|
"mockjs": "^1.1.0",
|
|
"moment": "^2.30.1",
|
|
"np": "^6.5.0",
|
|
"nprogress": "^0.2.0",
|
|
"octokit": "^1.8.1",
|
|
"polished": "^4.3.1",
|
|
"prettier": "^2.8.8",
|
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
"prettier-plugin-packagejson": "^2.5.3",
|
|
"pretty-quick": "^3.3.1",
|
|
"query-string": "^6.14.1",
|
|
"rc-field-form": "^2.4.0",
|
|
"rc-footer": "^0.6.8",
|
|
"rc-resize-observer": "^1.4.0",
|
|
"rc-steps": "^6.0.1",
|
|
"rc-table": "^7.48.1",
|
|
"rc-util": "^5.43.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-draggable": "^4.4.6",
|
|
"react-layout-kit": "^1.9.0",
|
|
"react-lazy-load": "^4.0.1",
|
|
"react-markdown": "^8.0.7",
|
|
"react-syntax-highlighter": "^15.6.1",
|
|
"remark": "^15.0.1",
|
|
"remark-gfm": "^4.0.0",
|
|
"remark-parse": "^11.0.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.2",
|
|
"typescript": "^5.6.3",
|
|
"umi": "^4.3.27",
|
|
"umi-request": "^1.4.0",
|
|
"unified": "^11.0.5",
|
|
"unist-util-visit": "^5.0.0",
|
|
"vitest": "^1.6.0",
|
|
"write-pkg": "^4.0.0",
|
|
"xhr-mock": "^2.5.1",
|
|
"yorkie": "^2.0.0",
|
|
"zustand": "^4.5.5"
|
|
},
|
|
"gitHooks": {
|
|
"pre-commit": "pretty-quick --staged",
|
|
"commit-msg": "fabric verify-commit"
|
|
},
|
|
"packageManager": "pnpm@9.6.0",
|
|
"version": ""
|
|
}
|