package.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "ant-design-pro",
  3. "version": "6.0.0",
  4. "private": true,
  5. "description": "An out-of-box UI solution for enterprise applications",
  6. "repository": "git@github.com:ant-design/ant-design-pro.git",
  7. "scripts": {
  8. "analyze": "cross-env ANALYZE=1 max build",
  9. "biome:lint": "npx @biomejs/biome lint",
  10. "build": "max build",
  11. "deploy": "npm run build && npm run gh-pages",
  12. "dev": "npm run start:dev",
  13. "gh-pages": "gh-pages -d dist",
  14. "i18n-remove": "pro i18n-remove --locale=zh-CN --write",
  15. "postinstall": "max setup",
  16. "jest": "jest",
  17. "lint": "npm run biome:lint && npm run tsc",
  18. "lint-staged": "lint-staged",
  19. "openapi": "max openapi",
  20. "prepare": "husky",
  21. "preview": "npm run build && max preview --port 8000",
  22. "record": "cross-env NODE_ENV=development REACT_APP_ENV=test max record --scene=login",
  23. "serve": "umi-serve",
  24. "start": "cross-env UMI_ENV=dev max dev",
  25. "start:dev": "cross-env REACT_APP_ENV=dev MOCK=none UMI_ENV=dev max dev",
  26. "start:no-mock": "cross-env MOCK=none UMI_ENV=dev max dev",
  27. "start:pre": "cross-env REACT_APP_ENV=pre UMI_ENV=dev max dev",
  28. "start:test": "cross-env REACT_APP_ENV=test MOCK=none UMI_ENV=dev max dev",
  29. "test": "jest",
  30. "test:coverage": "npm run jest -- --coverage",
  31. "test:update": "npm run jest -- -u",
  32. "tsc": "tsc --noEmit"
  33. },
  34. "browserslist": [
  35. "defaults"
  36. ],
  37. "dependencies": {
  38. "@ant-design/icons": "^5.6.1",
  39. "@ant-design/pro-components": "^2.7.19",
  40. "@ant-design/v5-patch-for-react-19": "^1.0.3",
  41. "antd": "^5.25.4",
  42. "antd-style": "^3.7.0",
  43. "classnames": "^2.5.1",
  44. "dayjs": "^1.11.13",
  45. "framer-motion": "^12.23.12",
  46. "react": "^19.1.0",
  47. "react-dom": "^19.1.0"
  48. },
  49. "devDependencies": {
  50. "@ant-design/pro-cli": "^3.3.0",
  51. "@biomejs/biome": "^2.0.6",
  52. "@commitlint/cli": "^19.5.0",
  53. "@commitlint/config-conventional": "^19.5.0",
  54. "@testing-library/dom": "^10.4.0",
  55. "@testing-library/react": "^16.0.1",
  56. "@types/express": "^5.0.3",
  57. "@types/jest": "^30.0.0",
  58. "@types/lodash": "^4.17.10",
  59. "@types/node": "^24.0.10",
  60. "@types/react": "^19.1.5",
  61. "@types/react-dom": "^19.1.5",
  62. "@types/react-helmet": "^6.1.11",
  63. "@umijs/max": "^4.3.24",
  64. "cross-env": "^7.0.3",
  65. "express": "^4.21.1",
  66. "gh-pages": "^6.1.1",
  67. "husky": "^9.1.7",
  68. "jest": "^30.0.4",
  69. "jest-environment-jsdom": "^29.7.0",
  70. "lint-staged": "^16.1.2",
  71. "mockjs": "^1.1.0",
  72. "ts-node": "^10.9.2",
  73. "typescript": "^5.6.3",
  74. "umi-presets-pro": "^2.0.3",
  75. "umi-serve": "^1.9.11"
  76. },
  77. "engines": {
  78. "node": ">=20.0.0"
  79. }
  80. }