package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "name": "cldv2.0",
  3. "version": "7.0.0",
  4. "private": true,
  5. "description": "An out-of-box UI solution for enterprise applications",
  6. "scripts": {
  7. "analyze": "cross-env ANALYZE=1 max build",
  8. "build": "max build",
  9. "deploy:qa": "cross-env REACT_APP_ENV=dev auto-deploy build -t qa",
  10. "deploy:prod": "cross-env REACT_APP_ENV=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.0-rc.22",
  37. "@umijs/plugins": "4.0.0-rc.22",
  38. "ahooks": "^3.4.1",
  39. "antd": "4.21.0",
  40. "antd-dayjs-webpack-plugin": "^1.0.6",
  41. "antd-img-crop": "^3.16.0",
  42. "classnames": "^2.2.6",
  43. "crypto-js": "^4.0.0",
  44. "dayjs": "1.11.2",
  45. "lodash-es": "^4.17.21",
  46. "moment": "^2.29.3",
  47. "omit.js": "^2.0.2",
  48. "qs": "^6.9.4",
  49. "rc-util": "^5.16.1",
  50. "rc-virtual-list": "^3.4.8",
  51. "react": "18.1.0",
  52. "react-copy-to-clipboard": "^5.0.4",
  53. "react-dom": "18.1.0",
  54. "react-infinite-scroll-component": "^6.1.0",
  55. "react-markdown": "^7.1.0",
  56. "unocss": "^0.38.2",
  57. "vditor": "3.8.14",
  58. "virtuallist-antd": "^0.7.2"
  59. },
  60. "devDependencies": {
  61. "@babel/plugin-proposal-class-properties": "^7.16.7",
  62. "@babel/plugin-proposal-decorators": "^7.17.2",
  63. "@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12",
  64. "@babel/plugin-proposal-optional-chaining": "^7.13.12",
  65. "@types/jest": "^26.0.0",
  66. "@types/lodash": "^4.14.144",
  67. "@types/qs": "^6.5.3",
  68. "@types/react": "^18.0.0",
  69. "@types/react-dom": "^18.0.0",
  70. "@unocss/cli": "^0.38.2",
  71. "babel-plugin-import": "^1.13.5",
  72. "cross-env": "^7.0.0",
  73. "eslint": "^8.17.0",
  74. "lint-staged": "^10.0.0",
  75. "prettier": "^2.6.1",
  76. "stylelint": "^14.9.0",
  77. "typescript": "^4.7.3",
  78. "husky": "^8.0.0"
  79. },
  80. "engines": {
  81. "node": ">=10.0.0"
  82. }
  83. }