山西督察-superintend-distribute-web react
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.

106 lines
3.5 KiB

  1. {
  2. "name": "ant-design-pro",
  3. "version": "4.5.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. "build:sheng": "cross-env PRO=sheng umi build",
  10. "deploy": "npm run site && npm run gh-pages",
  11. "dev": "npm run start:dev",
  12. "fetch:blocks": "pro fetch-blocks && npm run prettier",
  13. "gh-pages": "gh-pages -d dist",
  14. "i18n-remove": "pro i18n-remove --locale=zh-CN --write",
  15. "postinstall": "umi g tmp",
  16. "lint": "umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",
  17. "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
  18. "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",
  19. "lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
  20. "lint:prettier": "prettier --check \"src/**/*\" --end-of-line auto",
  21. "lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
  22. "prettier": "prettier -c --write \"src/**/*\"",
  23. "start": "cross-env UMI_ENV=dev a=1 umi dev",
  24. "start:dev": "cross-env REACT_APP_ENV=dev MOCK=none UMI_ENV=dev umi dev",
  25. "start:no-mock": "cross-env MOCK=none UMI_ENV=dev umi dev",
  26. "start:no-ui": "cross-env UMI_UI=none UMI_ENV=dev umi dev",
  27. "start:pre": "cross-env REACT_APP_ENV=pre UMI_ENV=dev umi dev",
  28. "start:test": "cross-env REACT_APP_ENV=test MOCK=none UMI_ENV=dev umi dev",
  29. "pretest": "node ./tests/beforeTest",
  30. "test": "umi test",
  31. "test:all": "node ./tests/run-tests.js",
  32. "test:component": "umi test ./src/components",
  33. "tsc": "tsc --noEmit"
  34. },
  35. "browserslist": [
  36. "> 1%",
  37. "last 2 versions",
  38. "not ie <= 10"
  39. ],
  40. "dependencies": {
  41. "@ant-design/icons": "^4.0.0",
  42. "@ant-design/pro-descriptions": "^1.2.0",
  43. "@ant-design/pro-form": "^1.3.0",
  44. "@ant-design/pro-layout": "^6.9.0",
  45. "@ant-design/pro-table": "^2.17.0",
  46. "@umijs/route-utils": "^1.0.33",
  47. "antd": "^4.10.0",
  48. "classnames": "^2.2.6",
  49. "lodash": "^4.17.11",
  50. "moment": "^2.25.3",
  51. "omit.js": "^2.0.2",
  52. "qs": "^6.9.0",
  53. "react": "^17.0.0",
  54. "react-dev-inspector": "^1.1.1",
  55. "react-dom": "^17.0.0",
  56. "react-helmet-async": "^1.0.4",
  57. "umi": "^3.2.14",
  58. "umi-request": "^1.0.8"
  59. },
  60. "devDependencies": {
  61. "@ant-design/pro-cli": "^1.0.28",
  62. "@types/classnames": "^2.2.7",
  63. "@types/express": "^4.17.0",
  64. "@types/history": "^4.7.2",
  65. "@types/jest": "^26.0.0",
  66. "@types/lodash": "^4.14.144",
  67. "@types/qs": "^6.5.3",
  68. "@types/react": "^17.0.0",
  69. "@types/react-dom": "^17.0.0",
  70. "@types/react-helmet": "^6.1.0",
  71. "@umijs/fabric": "^2.5.1",
  72. "@umijs/plugin-blocks": "^2.0.5",
  73. "@umijs/plugin-esbuild": "^1.0.1",
  74. "@umijs/preset-ant-design-pro": "^1.2.0",
  75. "@umijs/preset-react": "^1.4.8",
  76. "@umijs/yorkie": "^2.0.3",
  77. "carlo": "^0.9.46",
  78. "chalk": "^4.0.0",
  79. "cross-env": "^7.0.0",
  80. "cross-port-killer": "^1.1.1",
  81. "detect-installer": "^1.0.1",
  82. "enzyme": "^3.11.0",
  83. "eslint": "^7.1.0",
  84. "express": "^4.17.1",
  85. "gh-pages": "^3.0.0",
  86. "jsdom-global": "^3.0.2",
  87. "lint-staged": "^10.0.0",
  88. "mockjs": "^1.0.1-beta3",
  89. "prettier": "^2.0.1",
  90. "puppeteer-core": "^5.0.0",
  91. "stylelint": "^13.0.0",
  92. "typescript": "^4.0.3",
  93. "uuid": "^8.3.2",
  94. "uuidv4": "^6.2.13"
  95. },
  96. "engines": {
  97. "node": ">=10.0.0"
  98. },
  99. "checkFiles": [
  100. "src/**/*.js*",
  101. "src/**/*.ts*",
  102. "src/**/*.less",
  103. "config/**/*.js*",
  104. "scripts/**/*.js"
  105. ]
  106. }