package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name": "web-admin-pc",
  3. "private": true,
  4. "version": "1.0.0",
  5. "type": "module",
  6. "scripts": {
  7. "dev": "cross-env APP_ENV=dev vite",
  8. "build": "vite build --base",
  9. "build:prod": "cross-env APP_ENV=prod vite build --base",
  10. "build:dev": "cross-env APP_ENV=dev vite build --base",
  11. "build:test": "cross-env APP_ENV=test vite build --base/",
  12. "build:docker": "make build-docker",
  13. "preview": "vite preview",
  14. "lint": "eslint src --fix --ext .ts,.tsx,.vue,.js,.jsx,",
  15. "lint:prettier": "prettier --write src",
  16. "lint-staged": "lint-staged --allow-empty",
  17. "prepare": "husky install",
  18. "release": "bumpp"
  19. },
  20. "dependencies": {
  21. "@element-plus/icons-vue": "^2.3.1",
  22. "@icon-park/vue-next": "^1.4.2",
  23. "@vueuse/core": "^10.9.0",
  24. "axios": "^1.7.2",
  25. "dayjs": "^1.11.11",
  26. "echarts": "^5.5.0",
  27. "element-plus": "^2.7.3",
  28. "jsbarcode": "^3.11.6",
  29. "lodash-es": "^4.17.21",
  30. "mitt": "^3.0.1",
  31. "nprogress": "^0.2.0",
  32. "pinia": "^2.1.7",
  33. "pinia-plugin-persistedstate": "^3.2.1",
  34. "qrcode": "^1.5.3",
  35. "sortablejs": "^1.15.2",
  36. "vant": "^4.9.1",
  37. "vue": "^3.4.27",
  38. "vue-color-kit": "^1.0.6",
  39. "vue-draggable-plus": "^0.5.0",
  40. "vue-i18n": "^9.13.1",
  41. "vue-router": "^4.3.2"
  42. },
  43. "devDependencies": {
  44. "@commitlint/config-conventional": "^19.2.2",
  45. "@types/dompurify": "^3.0.5",
  46. "@types/lodash-es": "^4.17.12",
  47. "@types/qrcode": "^1.5.5",
  48. "@types/sortablejs": "^1.15.8",
  49. "@typescript-eslint/eslint-plugin": "^7.7.0",
  50. "@typescript-eslint/parser": "^7.10.0",
  51. "@unocss/preset-uno": "^0.58.9",
  52. "@unocss/vite": "^0.58.9",
  53. "@vant/auto-import-resolver": "^1.2.1",
  54. "@vitejs/plugin-vue": "^5.0.4",
  55. "@vitejs/plugin-vue-jsx": "^3.1.0",
  56. "boxen": "^7.1.1",
  57. "bumpp": "^9.4.1",
  58. "code-inspector-plugin": "^0.14.1",
  59. "commitlint": "^19.3.0",
  60. "cross-env": "^7.0.3",
  61. "eslint": "^8.57.0",
  62. "eslint-config-prettier": "^9.1.0",
  63. "eslint-plugin-prettier": "^5.1.3",
  64. "eslint-plugin-vue": "^9.26.0",
  65. "husky": "^9.0.11",
  66. "lint-staged": "^15.2.7",
  67. "picocolors": "^1.0.1",
  68. "prettier": "^3.2.5",
  69. "sass": "^1.77.2",
  70. "simple-git-hooks": "^2.11.1",
  71. "typescript": "^5.4.5",
  72. "unplugin-auto-import": "^0.17.6",
  73. "unplugin-vue-components": "^0.26.0",
  74. "unplugin-vue-router": "^0.8.8",
  75. "unplugin-vue-setup-extend-plus": "^1.0.1",
  76. "vite": "^5.2.11",
  77. "vite-plugin-banner": "^0.7.1",
  78. "vite-plugin-compression": "^0.5.1",
  79. "vite-plugin-html": "^3.2.2",
  80. "vite-plugin-pages": "^0.32.1",
  81. "vite-plugin-qiankun": "^1.0.15",
  82. "vite-plugin-vue-devtools": "^7.2.1",
  83. "vite-plugin-vue-meta-layouts": "^0.3.4",
  84. "vue-global-api": "^0.4.1",
  85. "vue-tsc": "^1.8.27"
  86. },
  87. "engines": {
  88. "node": "^18.18.0 || ^20.9.0 || >=21.1.0",
  89. "pnpm": ">=9.0.0"
  90. },
  91. "lint-staged": {
  92. "*.{js,ts,vue,jsx,tsx}": [
  93. "eslint --fix"
  94. ],
  95. "*.{css,less,scss,html,vue,js,ts,jsx,tsx}": [
  96. "prettier --write"
  97. ]
  98. }
  99. }