包含后厨 团餐 门店分支
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

130 行
4.3 KiB

  1. {
  2. "name": "ant-design-pro",
  3. "version": "5.0.0",
  4. "private": true,
  5. "description": "An out-of-box UI solution for enterprise applications",
  6. "scripts": {
  7. "analyze": "cross-env ANALYZE=1 umi build",
  8. "build": "umi build",
  9. "deploy": "npm run build && npm run gh-pages",
  10. "dev": "npm run start:dev",
  11. "gh-pages": "gh-pages -d dist",
  12. "i18n-remove": "pro i18n-remove --locale=zh-CN --write",
  13. "postinstall": "umi g tmp",
  14. "lint": "umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",
  15. "lint-staged": "lint-staged",
  16. "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
  17. "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",
  18. "lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
  19. "lint:prettier": "prettier -c --write \"src/**/*\" --end-of-line auto",
  20. "lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
  21. "openapi": "umi openapi",
  22. "precommit": "lint-staged",
  23. "prettier": "prettier -c --write \"src/**/*\"",
  24. "start": "cross-env UMI_ENV=dev umi dev",
  25. "start:umi-ui": "HOST=0.0.0.0 UMI-UI=1 umi dev",
  26. "start:dev": "cross-env REACT_APP_ENV=dev MOCK=none UMI_ENV=dev umi dev",
  27. "start:no-mock": "cross-env MOCK=none UMI_ENV=dev umi dev",
  28. "start:no-ui": "cross-env UMI_UI=none UMI_ENV=dev umi dev",
  29. "start:pre": "cross-env REACT_APP_ENV=pre UMI_ENV=dev umi dev",
  30. "start:test": "cross-env REACT_APP_ENV=test MOCK=none UMI_ENV=dev umi dev",
  31. "pretest": "node ./tests/beforeTest",
  32. "test": "umi test",
  33. "test:all": "node ./tests/run-tests.js",
  34. "test:component": "umi test ./src/components",
  35. "serve": "umi-serve",
  36. "tsc": "tsc --noEmit"
  37. },
  38. "lint-staged": {
  39. "**/*.less": "stylelint --syntax less",
  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.2.14",
  52. "@ant-design/icons": "^4.5.0",
  53. "@ant-design/pro-card": "^1.18.0",
  54. "@ant-design/pro-descriptions": "^1.10.0",
  55. "@ant-design/pro-form": "^1.48.0",
  56. "@ant-design/pro-layout": "^6.29.0",
  57. "@ant-design/pro-list": "^1.21.37",
  58. "@ant-design/pro-table": "^2.57.0",
  59. "@ant-design/pro-utils": "^1.28.0",
  60. "@umijs/route-utils": "^2.0.3",
  61. "@wangeditor/editor": "^5.1.15",
  62. "@wangeditor/editor-for-react": "^1.0.6",
  63. "antd": "^4.17.0",
  64. "axios": "^0.26.1",
  65. "braft-editor": "^2.3.9",
  66. "classnames": "^2.2.6",
  67. "cos-js-sdk-v5": "^1.3.5",
  68. "echarts": "^5.3.3",
  69. "js-base64": "^3.7.5",
  70. "js-export-excel": "^1.1.4",
  71. "linq": "^4.0.0",
  72. "lodash": "^4.17.11",
  73. "moment": "^2.25.3",
  74. "nanoid": "3",
  75. "omit.js": "^2.0.2",
  76. "qrcode.react": "^1.0.1",
  77. "react": "^17.0.0",
  78. "react-custom-scrollbar": "^1.0.0",
  79. "react-custom-scrollbars": "^4.2.1",
  80. "react-dev-inspector": "^1.1.1",
  81. "react-dom": "^17.0.0",
  82. "react-helmet-async": "^1.0.4",
  83. "swagger-ui-react": "^4.14.0",
  84. "umi": "^3.5.0",
  85. "umi-serve": "^1.9.10"
  86. },
  87. "devDependencies": {
  88. "@ant-design/pro-cli": "^2.0.2",
  89. "@types/express": "^4.17.0",
  90. "@types/history": "^4.7.2",
  91. "@types/jest": "^27.0.2",
  92. "@types/lodash": "^4.14.177",
  93. "@types/react": "^17.0.35",
  94. "@types/react-dom": "^17.0.0",
  95. "@types/react-helmet": "^6.1.0",
  96. "@umijs/fabric": "^2.6.2",
  97. "@umijs/openapi": "^1.3.6",
  98. "@umijs/plugin-blocks": "^2.0.5",
  99. "@umijs/plugin-esbuild": "^1.0.1",
  100. "@umijs/plugin-openapi": "^1.2.0",
  101. "@umijs/preset-ant-design-pro": "^1.2.0",
  102. "@umijs/preset-dumi": "^1.1.32",
  103. "@umijs/preset-react": "^1.8.27",
  104. "@umijs/preset-ui": "^2.2.9",
  105. "@umijs/yorkie": "^2.0.3",
  106. "carlo": "^0.9.46",
  107. "cross-env": "^7.0.0",
  108. "cross-port-killer": "^1.1.1",
  109. "detect-installer": "^1.0.1",
  110. "enzyme": "^3.11.0",
  111. "eslint": "^8.2.0",
  112. "eslint-plugin-react": "^7.29.4",
  113. "express": "^4.17.1",
  114. "gh-pages": "^3.0.0",
  115. "jsdom-global": "^3.0.2",
  116. "lint-staged": "^12.0.2",
  117. "mockjs": "^1.0.1-beta3",
  118. "prettier": "^2.3.2",
  119. "puppeteer-core": "^11.0.0",
  120. "stylelint": "^14.1.0",
  121. "typescript": "^4.2.2"
  122. },
  123. "engines": {
  124. "node": ">=10.0.0"
  125. },
  126. "gitHooks": {
  127. "commit-msg": "fabric verify-commit"
  128. }
  129. }