package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {
  2. "name": "zkxw-web-admin",
  3. "version": "1.0.0",
  4. "description": "中科兴皖一体化门户管理后台",
  5. "type": "module",
  6. "engines": {
  7. "node": ">=20.19.0",
  8. "pnpm": ">=8.8.0"
  9. },
  10. "scripts": {
  11. "dev": "vite --open",
  12. "build": "vite build",
  13. "build:test": "vite build --mode test",
  14. "build:typecheck": "vue-tsc --noEmit && vite build",
  15. "serve": "vite preview",
  16. "lint": "eslint",
  17. "fix": "eslint --fix",
  18. "lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"",
  19. "lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix",
  20. "lint:lint-staged": "lint-staged",
  21. "prepare": "husky",
  22. "commit": "git-cz",
  23. "clean:dev": "tsx scripts/clean-dev.ts"
  24. },
  25. "config": {
  26. "commitizen": {
  27. "path": "node_modules/cz-git"
  28. }
  29. },
  30. "lint-staged": {
  31. "*.{js,ts,mjs,mts,tsx}": [
  32. "eslint --fix",
  33. "prettier --write"
  34. ],
  35. "*.{cjs,json,jsonc}": [
  36. "prettier --write"
  37. ],
  38. "*.vue": [
  39. "eslint --fix",
  40. "stylelint --fix --allow-empty-input",
  41. "prettier --write"
  42. ],
  43. "*.{html,htm}": [
  44. "prettier --write"
  45. ],
  46. "*.{scss,css,less}": [
  47. "stylelint --fix --allow-empty-input",
  48. "prettier --write"
  49. ],
  50. "*.{md,mdx}": [
  51. "prettier --write"
  52. ],
  53. "*.{yaml,yml}": [
  54. "prettier --write"
  55. ]
  56. },
  57. "dependencies": {
  58. "@antv/x6": "^3.1.7",
  59. "@element-plus/icons-vue": "^2.3.2",
  60. "@form-create/designer": "^3.5.0",
  61. "@form-create/element-ui": "^3.3.1",
  62. "@iconify/vue": "^5.0.0",
  63. "@tailwindcss/vite": "^4.1.14",
  64. "@tinymce/tinymce-vue": "^6.3.0",
  65. "@vue-flow/core": "^1.48.2",
  66. "@vue/reactivity": "^3.5.21",
  67. "@vueuse/core": "^13.9.0",
  68. "@wangeditor/editor": "^5.1.23",
  69. "@wangeditor/editor-for-vue": "next",
  70. "axios": "^1.12.2",
  71. "crypto-js": "^4.2.0",
  72. "dagre": "^0.8.5",
  73. "dompurify": "^3.4.12",
  74. "echarts": "^6.0.0",
  75. "element-plus": "^2.11.2",
  76. "exceljs": "^4.4.0",
  77. "file-saver": "^2.0.5",
  78. "highlight.js": "^11.10.0",
  79. "html2canvas": "^1.4.1",
  80. "jsencrypt": "^3.3.2",
  81. "jspdf": "^4.2.1",
  82. "jszip": "^3.10.1",
  83. "mitt": "^3.0.1",
  84. "nprogress": "^0.2.0",
  85. "ohash": "^2.0.11",
  86. "pinia": "^3.0.3",
  87. "pinia-plugin-persistedstate": "^4.3.0",
  88. "qrcode.vue": "^3.6.0",
  89. "sortablejs": "^1.15.7",
  90. "tailwindcss": "^4.1.14",
  91. "tinymce": "^8.8.2",
  92. "vue": "^3.5.21",
  93. "vue-draggable-plus": "^0.6.0",
  94. "vue-i18n": "^9.14.0",
  95. "vue-router": "^4.5.1",
  96. "xgplayer": "^3.0.20",
  97. "xlsx": "^0.18.5"
  98. },
  99. "devDependencies": {
  100. "@commitlint/cli": "^19.4.1",
  101. "@commitlint/config-conventional": "^19.4.1",
  102. "@eslint/js": "^9.9.1",
  103. "@types/dagre": "^0.7.54",
  104. "@types/node": "^24.0.5",
  105. "@typescript-eslint/eslint-plugin": "^8.3.0",
  106. "@typescript-eslint/parser": "^8.3.0",
  107. "@vitejs/plugin-vue": "^6.0.1",
  108. "@vue/compiler-sfc": "^3.0.5",
  109. "commitizen": "^4.3.0",
  110. "cz-git": "^1.11.1",
  111. "eslint": "^9.9.1",
  112. "eslint-config-prettier": "^9.1.0",
  113. "eslint-plugin-prettier": "^5.2.1",
  114. "eslint-plugin-vue": "^9.27.0",
  115. "globals": "^15.9.0",
  116. "husky": "^9.1.5",
  117. "lint-staged": "^15.5.2",
  118. "playwright": "^1.53.0",
  119. "prettier": "^3.5.3",
  120. "rollup-plugin-visualizer": "^5.12.0",
  121. "sass": "^1.81.0",
  122. "stylelint": "^16.20.0",
  123. "stylelint-config-html": "^1.1.0",
  124. "stylelint-config-recess-order": "^4.6.0",
  125. "stylelint-config-recommended-scss": "^14.1.0",
  126. "stylelint-config-recommended-vue": "^1.5.0",
  127. "stylelint-config-standard": "^36.0.1",
  128. "terser": "^5.36.0",
  129. "tsx": "^4.20.3",
  130. "typescript": "~5.6.3",
  131. "typescript-eslint": "^8.9.0",
  132. "unplugin-auto-import": "^20.2.0",
  133. "unplugin-element-plus": "^0.10.0",
  134. "unplugin-vue-components": "^29.1.0",
  135. "vite": "^7.1.5",
  136. "vite-plugin-compression": "^0.5.1",
  137. "vite-plugin-vue-devtools": "^7.7.6",
  138. "vue-demi": "^0.14.9",
  139. "vue-img-cutter": "^3.0.5",
  140. "vue-tsc": "~2.1.6"
  141. }
  142. }