package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. },
  18. "lint-staged": {
  19. "**/*.{js,jsx,tsx,ts,less,md,json}": [
  20. "max lint"
  21. ]
  22. },
  23. "browserslist": [
  24. "> 1%",
  25. "last 2 versions",
  26. "not ie <= 10"
  27. ],
  28. "dependencies": {
  29. "@ant-design/charts": "^1.3.2",
  30. "@ant-design/icons": "^4.0.0",
  31. "@ant-design/pro-form": "1.66.0",
  32. "@ant-design/pro-layout": "6.38.8",
  33. "@ant-design/pro-table": "2.76.3",
  34. "@icon-park/react": "^1.3.3",
  35. "@umijs/max": "4.0.0-rc.22",
  36. "@umijs/plugins": "4.0.0-rc.22",
  37. "ahooks": "^3.4.1",
  38. "antd": "4.21.0",
  39. "antd-img-crop": "^3.16.0",
  40. "classnames": "^2.2.6",
  41. "crypto-js": "^4.0.0",
  42. "dayjs": "1.11.2",
  43. "lodash-es": "^4.17.21",
  44. "moment": "^2.29.3",
  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. "unocss": "^0.38.2",
  55. "vditor": "3.8.14",
  56. "virtuallist-antd": "^0.7.2"
  57. },
  58. "devDependencies": {
  59. "@babel/plugin-proposal-class-properties": "^7.16.7",
  60. "@babel/plugin-proposal-decorators": "^7.17.2",
  61. "@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12",
  62. "@babel/plugin-proposal-optional-chaining": "^7.13.12",
  63. "@types/jest": "^26.0.0",
  64. "@types/lodash": "^4.14.144",
  65. "@types/qs": "^6.5.3",
  66. "@types/react": "^16.9.17",
  67. "@types/react-dom": "^16.8.4",
  68. "@unocss/cli": "^0.38.2",
  69. "babel-plugin-import": "^1.13.5",
  70. "cross-env": "^7.0.0",
  71. "eslint": "^8.17.0",
  72. "lint-staged": "^10.0.0",
  73. "prettier": "^2.6.1",
  74. "stylelint": "^14.9.0",
  75. "typescript": "^4.7.3"
  76. },
  77. "engines": {
  78. "node": ">=10.0.0"
  79. }
  80. }