package.json 3.4 KB

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