package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "cldv2.0",
  3. "version": "7.0.0",
  4. "private": true,
  5. "description": "",
  6. "scripts": {
  7. "analyze": "cross-env ANALYZE=1 max build",
  8. "build": "cross-env REACT_APP_ENV=prod max build",
  9. "deploy:qa": "auto-deploy build -t qa",
  10. "deploy:prod": "auto-deploy build -t prod",
  11. "dev": "npm run start:dev",
  12. "postinstall": "max setup",
  13. "precommit": "lint-staged",
  14. "start": "max dev",
  15. "start:dev": "cross-env REACT_APP_ENV=dev MOCK=none max dev",
  16. "start:org": "cross-env REACT_APP_ENV=org MOCK=none max dev",
  17. "prepare": "husky install"
  18. },
  19. "lint-staged": {
  20. "**/*.{js,jsx,tsx,ts,less}": [
  21. "max lint"
  22. ]
  23. },
  24. "browserslist": [
  25. "> 1%",
  26. "last 2 versions",
  27. "not ie <= 10"
  28. ],
  29. "dependencies": {
  30. "@ant-design/charts": "^1.3.2",
  31. "@ant-design/icons": "^4.0.0",
  32. "@ant-design/pro-form": "1.66.0",
  33. "@ant-design/pro-layout": "6.38.8",
  34. "@ant-design/pro-table": "2.76.3",
  35. "@icon-park/react": "^1.3.3",
  36. "@umijs/max": "4.0.3",
  37. "@umijs/plugins": "4.0.3",
  38. "ahooks": "^3.4.1",
  39. "antd": "4.21.0",
  40. "antd-img-crop": "^3.16.0",
  41. "classnames": "^2.2.6",
  42. "crypto-js": "^4.0.0",
  43. "dayjs": "1.11.2",
  44. "lodash-es": "^4.17.21",
  45. "omit.js": "^2.0.2",
  46. "qs": "^6.9.4",
  47. "rc-util": "^5.16.1",
  48. "rc-virtual-list": "^3.4.8",
  49. "react": "18.1.0",
  50. "react-copy-to-clipboard": "^5.0.4",
  51. "react-dom": "18.1.0",
  52. "react-infinite-scroll-component": "^6.1.0",
  53. "react-markdown": "^7.1.0",
  54. "vditor": "3.8.14",
  55. "virtuallist-antd": "^0.7.2"
  56. },
  57. "devDependencies": {
  58. "@babel/plugin-proposal-class-properties": "^7.16.7",
  59. "@babel/plugin-proposal-decorators": "^7.17.2",
  60. "@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12",
  61. "@babel/plugin-proposal-optional-chaining": "^7.13.12",
  62. "@types/jest": "^26.0.0",
  63. "@types/lodash": "^4.14.144",
  64. "@types/qs": "^6.5.3",
  65. "@types/react": "^18.0.0",
  66. "@types/react-dom": "^18.0.0",
  67. "@unocss/cli": "^0.38.2",
  68. "babel-plugin-import": "^1.13.5",
  69. "compression-webpack-plugin": "^10.0.0",
  70. "cross-env": "^7.0.0",
  71. "eslint": "^8.17.0",
  72. "husky": "^8.0.0",
  73. "lint-staged": "^10.0.0",
  74. "prettier": "^2.6.1",
  75. "stylelint": "^14.9.0",
  76. "typescript": "^4.7.3",
  77. "unocss": "^0.38.2"
  78. },
  79. "engines": {
  80. "node": ">=14.0.0"
  81. }
  82. }