package.json 4.1 KB

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