package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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-descriptions": "^1.10.60",
  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.5",
  36. "@umijs/max": "4.0.9",
  37. "@umijs/plugins": "4.0.9",
  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.44.2",
  57. "babel-plugin-import": "^1.13.3",
  58. "cross-env": "^7.0.3",
  59. "eslint": "^8.17.0",
  60. "husky": "^8.0.0",
  61. "lint-staged": "^10.5.4",
  62. "prettier": "^2.6.1",
  63. "stylelint": "^14.9.0",
  64. "typescript": "^4.6.3",
  65. "unocss": "^0.44.2"
  66. },
  67. "engines": {
  68. "node": ">=14.0.0"
  69. },
  70. "packageManager": "pnpm@6.31.0"
  71. }