package.json 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. "react": "^19.1.0",
  46. "react-dom": "^19.1.0"
  47. },
  48. "devDependencies": {
  49. "@ant-design/pro-cli": "^3.3.0",
  50. "@biomejs/biome": "^2.0.6",
  51. "@commitlint/cli": "^19.5.0",
  52. "@commitlint/config-conventional": "^19.5.0",
  53. "@testing-library/dom": "^10.4.0",
  54. "@testing-library/react": "^16.0.1",
  55. "@types/express": "^5.0.3",
  56. "@types/jest": "^30.0.0",
  57. "@types/lodash": "^4.17.10",
  58. "@types/node": "^24.0.10",
  59. "@types/react": "^19.1.5",
  60. "@types/react-dom": "^19.1.5",
  61. "@types/react-helmet": "^6.1.11",
  62. "@umijs/max": "^4.3.24",
  63. "cross-env": "^7.0.3",
  64. "express": "^4.21.1",
  65. "gh-pages": "^6.1.1",
  66. "husky": "^9.1.7",
  67. "jest": "^30.0.4",
  68. "jest-environment-jsdom": "^29.7.0",
  69. "lint-staged": "^16.1.2",
  70. "mockjs": "^1.1.0",
  71. "ts-node": "^10.9.2",
  72. "typescript": "^5.6.3",
  73. "umi-presets-pro": "^2.0.3",
  74. "umi-serve": "^1.9.11"
  75. },
  76. "engines": {
  77. "node": ">=20.0.0"
  78. }
  79. }