package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "cldv2_console",
  3. "version": "0.0.1",
  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": "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/icons": "^4.7.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.5",
  35. "@umijs/max": "4.0.19",
  36. "@umijs/plugins": "4.0.19",
  37. "@umijs/route-utils": "^2.2.0",
  38. "ahooks": "2.10.9",
  39. "antd": "^4.19.5",
  40. "array-move": "^4.0.0",
  41. "classnames": "^2.3.1",
  42. "lodash": "^4.17.21",
  43. "markdown-it": "^12.3.2",
  44. "omit.js": "^2.0.2",
  45. "rc-queue-anim": "^1.8.5",
  46. "react": "18.1.0",
  47. "react-dom": "18.1.0",
  48. "react-helmet-async": "^1.2.3",
  49. "react-markdown-editor-lite": "^1.3.2",
  50. "react-sortable-hoc": "^2.0.0"
  51. },
  52. "devDependencies": {
  53. "@types/lodash": "^4.14.181",
  54. "@types/react": "^18.0.0",
  55. "@types/react-dom": "^18.0.0",
  56. "@unocss/cli": "^0.45.21",
  57. "babel-plugin-import": "^1.13.3",
  58. "compression-webpack-plugin": "^10.0.0",
  59. "cross-env": "^7.0.3",
  60. "eslint": "^8.17.0",
  61. "husky": "^8.0.0",
  62. "lint-staged": "^10.5.4",
  63. "prettier": "^2.6.1",
  64. "stylelint": "^14.9.0",
  65. "typescript": "^4.6.3",
  66. "unocss": "^0.45.21"
  67. },
  68. "engines": {
  69. "node": ">=14.0.0"
  70. },
  71. "packageManager": "pnpm@6.31.0"
  72. }