集成,总结MES功能
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

110 lines
3.7 KiB

  1. {
  2. "name": "ant-design-pro",
  3. "version": "6.0.0",
  4. "license": "ISC",
  5. "private": true,
  6. "description": "An out-of-box UI solution for enterprise applications",
  7. "scripts": {
  8. "analyze": "cross-env ANALYZE=1 max build",
  9. "build": "max build",
  10. "deploy": "npm run build && npm run gh-pages",
  11. "dev": "npm run start:dev",
  12. "gh-pages": "gh-pages -d dist",
  13. "i18n-remove": "pro i18n-remove --write",
  14. "postinstall": "max setup",
  15. "jest": "jest",
  16. "lint": "npm run lint:js && npm run lint:prettier && npm run tsc",
  17. "lint-staged": "lint-staged",
  18. "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
  19. "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src ",
  20. "lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
  21. "lint:prettier": "prettier -c --write \"**/**.{js,jsx,tsx,ts,less,md,json}\" --end-of-line auto",
  22. "openapi": "max openapi",
  23. "prepare": "cd ../.. && husky install frontend/.husky",
  24. "prettier": "prettier -c --write \"**/**.{js,jsx,tsx,ts,less,md,json}\"",
  25. "preview": "npm run build && max preview --port 8000",
  26. "record": "cross-env NODE_ENV=development REACT_APP_ENV=test max record --scene=login",
  27. "serve": "umi-serve",
  28. "start:mock": "cross-env UMI_ENV=dev max dev",
  29. "start": "cross-env UMI_ENV=dev max dev",
  30. "start:dev": "cross-env REACT_APP_ENV=dev MOCK=none UMI_ENV=dev max dev",
  31. "start:no-mock": "cross-env MOCK=none UMI_ENV=dev max dev",
  32. "start:pre": "cross-env REACT_APP_ENV=pre UMI_ENV=dev max dev",
  33. "start:test": "cross-env REACT_APP_ENV=test MOCK=none UMI_ENV=dev max dev",
  34. "test": "jest",
  35. "test:coverage": "npm run jest -- --coverage",
  36. "test:update": "npm run jest -- -u",
  37. "tsc": "tsc --noEmit"
  38. },
  39. "lint-staged": {
  40. "**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js",
  41. "**/*.{js,jsx,tsx,ts,less,md,json}": [
  42. "prettier --write"
  43. ]
  44. },
  45. "browserslist": [
  46. "> 1%",
  47. "last 2 versions",
  48. "not ie <= 10"
  49. ],
  50. "dependencies": {
  51. "@ant-design/charts": "^1.4.2",
  52. "@ant-design/icons": "^4.8.0",
  53. "@ant-design/pro-components": "^2.3.44",
  54. "@ant-design/pro-flow": "^1.3.11",
  55. "@ant-design/pro-layout": "^7.8.3",
  56. "@ant-design/use-emotion-css": "1.0.4",
  57. "@jiaminghi/data-view-react": "^1.2.5",
  58. "@umijs/route-utils": "^2.2.2",
  59. "antd": "^5.2.3",
  60. "classnames": "^2.3.2",
  61. "eslint-config-prettier": "^8.6.0",
  62. "eslint-plugin-unicorn": "^46.0.0",
  63. "js-md5": "^0.7.3",
  64. "lodash": "^4.17.21",
  65. "moment": "^2.29.4",
  66. "omit.js": "^2.0.2",
  67. "rc-menu": "^9.8.1",
  68. "rc-util": "^5.25.2",
  69. "react": "^18.2.0",
  70. "react-dev-inspector": "^1.8.3",
  71. "react-dom": "^18.2.0",
  72. "react-flow-editor": "^0.6.1",
  73. "react-flow-renderer": "^10.3.17",
  74. "react-helmet-async": "^1.3.0",
  75. "uuid": "^10.0.0"
  76. },
  77. "devDependencies": {
  78. "@ant-design/pro-cli": "^2.1.5",
  79. "@testing-library/react": "^13.4.0",
  80. "@types/classnames": "^2.3.1",
  81. "@types/express": "^4.17.14",
  82. "@types/history": "^4.7.11",
  83. "@types/jest": "^29.2.4",
  84. "@types/js-md5": "^0.7.0",
  85. "@types/lodash": "^4.14.191",
  86. "@types/react": "^17.0.52",
  87. "@types/react-dom": "^17.0.18",
  88. "@types/react-helmet": "^6.1.6",
  89. "@umijs/lint": "^4.0.35",
  90. "@umijs/max": "^4.0.55",
  91. "cross-env": "^7.0.3",
  92. "eslint": "^8.29.0",
  93. "express": "^4.18.2",
  94. "gh-pages": "^3.2.3",
  95. "husky": "^7.0.4",
  96. "jest": "^29.3.1",
  97. "jest-environment-jsdom": "^29.3.1",
  98. "lint-staged": "^10.5.4",
  99. "mockjs": "^1.1.0",
  100. "prettier": "^2.8.1",
  101. "swagger-ui-dist": "^4.15.5",
  102. "ts-node": "^10.9.1",
  103. "typescript": "^4.9.4",
  104. "umi-presets-pro": "^2.0.0"
  105. },
  106. "engines": {
  107. "node": ">=12.0.0"
  108. }
  109. }