package.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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": "cross-env UMI_ENV=prod umi build",
  9. "laitin": "cross-env UMI_ENV=laitin umi build",
  10. "uat": "cross-env UMI_ENV=uat umi build",
  11. "deploy": "npm run site && npm run gh-pages",
  12. "dev": "npm run start:dev",
  13. "fetch:blocks": "pro fetch-blocks && npm run prettier",
  14. "gh-pages": "gh-pages -d dist",
  15. "i18n-remove": "pro i18n-remove --locale=zh-CN --write",
  16. "postinstall": "umi g tmp",
  17. "lint": "umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",
  18. "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
  19. "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",
  20. "lint:jsfix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
  21. "lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
  22. "lint:prettier": "prettier --check \"src/**/*\" --end-of-line auto",
  23. "lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
  24. "precommit": "lint-staged",
  25. "prettier": "prettier -c --write \"src/**/*\"",
  26. "start": "cross-env UMI_ENV=dev umi dev",
  27. "start:dev": "cross-env REACT_APP_ENV=dev MOCK=none UMI_ENV=dev umi dev",
  28. "start:mock": "cross-env REACT_APP_ENV=dev MOCK=none UMI_ENV=mock umi dev",
  29. "start:no-mock": "cross-env MOCK=none UMI_ENV=dev umi dev",
  30. "start:no-ui": "cross-env UMI_UI=none UMI_ENV=dev umi dev",
  31. "start:pre": "cross-env REACT_APP_ENV=pre UMI_ENV=dev umi dev",
  32. "start:test": "cross-env REACT_APP_ENV=test MOCK=none UMI_ENV=dev umi dev",
  33. "pretest": "node ./tests/beforeTest",
  34. "test": "umi test",
  35. "test:all": "node ./tests/run-tests.js",
  36. "tpl": "node ./npx/tpl.js",
  37. "test:component": "umi test ./src/components",
  38. "tsc": "tsc --noEmit"
  39. },
  40. "lint-staged": {
  41. "**/*.less": "stylelint --syntax less",
  42. "**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js",
  43. "**/*.{js,jsx,tsx,ts,less,md,json}": [
  44. "prettier --write"
  45. ]
  46. },
  47. "browserslist": [
  48. "> 1%",
  49. "last 2 versions",
  50. "not ie <= 10"
  51. ],
  52. "dependencies": {
  53. "@ant-design/icons": "^4.7.0",
  54. "@ant-design/pro-card": "^1.20.0",
  55. "@ant-design/pro-form": "^1.65.0",
  56. "@ant-design/pro-layout": "^6.35.0",
  57. "@aspnet/signalr": "^1.1.4",
  58. "@three-ts/orbit-controls": "^1.4.7",
  59. "@tweenjs/tween.js": "^18.6.4",
  60. "@types/uuid": "^8.3.4",
  61. "@umijs/route-utils": "^2.0.5",
  62. "abp-web-resources": "^5.5.0",
  63. "antd": "^4.20.1",
  64. "classnames": "^2.2.6",
  65. "immutability-helper": "^3.1.1",
  66. "jquery": "^3.6.0",
  67. "lodash": "^4.17.11",
  68. "moment": "^2.29.3",
  69. "moment-timezone": "^0.5.33",
  70. "node-sass": "^6.0.1",
  71. "nprogress": "^0.2.0",
  72. "omit.js": "^2.0.2",
  73. "pixi-projection": "0.4.3",
  74. "pixi.js": "6.3.2",
  75. "prop-types": "^15.8.1",
  76. "punycode": "^2.1.1",
  77. "rc-resize-observer": "^1.2.0",
  78. "react": "^17.0.0",
  79. "react-colorful": "^5.5.1",
  80. "react-dev-inspector": "^1.8.0",
  81. "react-dnd": "^14.0.2",
  82. "react-dnd-html5-backend": "^14.0.0",
  83. "react-dom": "^17.0.0",
  84. "react-easy-crop": "^4.6.3",
  85. "react-fast-marquee": "^1.3.2",
  86. "react-helmet-async": "^1.3.0",
  87. "react-masonry-component": "^6.3.0",
  88. "react-pixi-fiber": "^1.0.6",
  89. "sass-loader": "^12.6.0",
  90. "shortid": "^2.2.16",
  91. "swiper": "^6.7.5",
  92. "three": "^0.132.2",
  93. "umi": "^3.5.23",
  94. "umi-request": "^1.4.0",
  95. "uuid": "^8.3.2"
  96. },
  97. "devDependencies": {
  98. "@ant-design/pro-cli": "^1.0.28",
  99. "@types/classnames": "^2.2.7",
  100. "@types/express": "^4.17.13",
  101. "@types/fastclick": "^1.0.30",
  102. "@types/history": "^4.7.2",
  103. "@types/jest": "^26.0.0",
  104. "@types/jquery": "^3.5.14",
  105. "@types/lodash": "^4.14.182",
  106. "@types/nprogress": "^0.2.0",
  107. "@types/react": "^17.0.0",
  108. "@types/react-color": "^3.0.6",
  109. "@types/react-dom": "^17.0.0",
  110. "@types/react-helmet": "^6.1.5",
  111. "@types/three": "^0.131.0",
  112. "@umijs/fabric": "^2.10.2",
  113. "@umijs/plugin-blocks": "^2.0.5",
  114. "@umijs/plugin-esbuild": "^1.4.1",
  115. "@umijs/plugin-sass": "^1.1.1",
  116. "@umijs/preset-ant-design-pro": "^1.3.3",
  117. "@umijs/preset-react": "^1.8.22",
  118. "@umijs/yorkie": "^2.0.3",
  119. "carlo": "^0.9.46",
  120. "chalk": "^4.0.0",
  121. "cross-env": "^7.0.0",
  122. "cross-port-killer": "^1.4.0",
  123. "detect-installer": "^1.0.1",
  124. "enzyme": "^3.11.0",
  125. "eslint": "^7.1.0",
  126. "express": "^4.18.0",
  127. "fastclick": "^1.0.6",
  128. "gh-pages": "^3.0.0",
  129. "jsdom-global": "^3.0.2",
  130. "lint-staged": "^10.0.0",
  131. "mockjs": "^1.0.1-beta3",
  132. "prettier": "^2.8.8",
  133. "puppeteer-core": "^8.0.0",
  134. "stylelint": "^13.0.0",
  135. "typescript": "^4.6.4"
  136. },
  137. "engines": {
  138. "node": ">=10.0.0"
  139. },
  140. "checkFiles": [
  141. "src/**/*.js*",
  142. "src/**/*.ts*",
  143. "src/**/*.less",
  144. "config/**/*.js*",
  145. "scripts/**/*.js"
  146. ]
  147. }