package.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. {
  2. "name": "yudao-ui-admin-vue3",
  3. "type": "module",
  4. "version": "2026.08-snapshot",
  5. "private": false,
  6. "description": "基于vue3、vite4、element-plus、typesScript",
  7. "author": "xingyu",
  8. "license": "MIT",
  9. "homepage": "https://gitee.com/yudaocode/yudao-ui-admin-vue3",
  10. "repository": {
  11. "type": "git",
  12. "url": "git+https://gitee.com/yudaocode/yudao-ui-admin-vue3"
  13. },
  14. "bugs": {
  15. "url": "https://gitee.com/yudaocode/yudao-ui-admin-vue3/issues"
  16. },
  17. "web-types": "./web-types.json",
  18. "engines": {
  19. "node": ">= 20.19.0",
  20. "pnpm": ">=8.6.0"
  21. },
  22. "scripts": {
  23. "i": "pnpm install",
  24. "dev": "vite --mode env.local",
  25. "dev-server": "vite --mode dev",
  26. "ts:check": "node --max_old_space_size=8192 ./node_modules/vue-tsc/bin/vue-tsc.js --noEmit --incremental --tsBuildInfoFile node_modules/.cache/vue-tsc/tsconfig.tsbuildinfo",
  27. "build:local": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode env.local",
  28. "build:dev": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode dev",
  29. "build:test": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode test",
  30. "build:stage": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode stage",
  31. "build:prod": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode prod",
  32. "serve:dev": "vite preview --mode dev",
  33. "serve:prod": "vite preview --mode prod",
  34. "preview": "pnpm build:local && vite preview",
  35. "test:lang": "node --experimental-strip-types --test tests/langHelper.test.ts",
  36. "clean": "npx rimraf node_modules",
  37. "clean:cache": "npx rimraf node_modules/.cache",
  38. "lint": "pnpm lint:eslint:check && pnpm lint:style:check && pnpm lint:format:check",
  39. "lint:eslint": "eslint --fix ./src --cache --cache-location node_modules/.cache/eslint/",
  40. "lint:eslint:check": "eslint ./src --cache --cache-location node_modules/.cache/eslint/",
  41. "lint:format": "prettier --write --log-level warn --cache --cache-location node_modules/.cache/prettier/.prettier-cache \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
  42. "lint:format:check": "prettier --check --cache --cache-location node_modules/.cache/prettier/.prettier-cache \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
  43. "lint:style": "stylelint --fix \"./src/**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  44. "lint:style:check": "stylelint \"./src/**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  45. "lint:lint-staged": "lint-staged",
  46. "commit": "cz",
  47. "prepare": "simple-git-hooks"
  48. },
  49. "dependencies": {
  50. "@element-plus/icons-vue": "2.3.2",
  51. "@iconify/vue": "^5.0.1",
  52. "@microsoft/fetch-event-source": "^2.0.1",
  53. "@vueuse/core": "^14.3.0",
  54. "@wangeditor-next/editor": "^5.7.0",
  55. "@wangeditor-next/editor-for-vue": "^5.1.14",
  56. "@zxcvbn-ts/core": "^3.0.4",
  57. "animate.css": "^4.1.1",
  58. "axios": "1.16.0",
  59. "cropperjs": "^2.1.1",
  60. "crypto-js": "^4.2.0",
  61. "dayjs": "^1.11.20",
  62. "echarts": "^6.0.0",
  63. "echarts-wordcloud": "^2.1.0",
  64. "element-plus": "2.13.7",
  65. "highlight.js": "^11.11.1",
  66. "jsencrypt": "^3.5.4",
  67. "lodash-es": "^4.18.1",
  68. "markdown-it": "^14.1.1",
  69. "mitt": "^3.0.1",
  70. "nprogress": "^0.2.0",
  71. "pinia": "^3.0.4",
  72. "pinia-plugin-persistedstate": "^4.7.1",
  73. "qrcode": "^1.5.4",
  74. "qs": "^6.15.1",
  75. "snabbdom": "^3.6.3",
  76. "url": "^0.11.4",
  77. "vue": "3.5.34",
  78. "vue-dompurify-html": "^5.3.0",
  79. "vue-i18n": "11.4.0",
  80. "vue-router": "5.0.6",
  81. "vue-types": "^6.0.0",
  82. "web-storage-cache": "^1.1.1"
  83. },
  84. "devDependencies": {
  85. "@antfu/eslint-config": "^9.5.1",
  86. "@commitlint/cli": "^20.5.3",
  87. "@commitlint/config-conventional": "^20.5.3",
  88. "@iconify/json": "^2.2.470",
  89. "@types/lodash-es": "^4.17.12",
  90. "@types/node": "^25.6.0",
  91. "@types/nprogress": "^0.2.3",
  92. "@types/qrcode": "^1.5.6",
  93. "@types/qs": "^6.15.0",
  94. "@unocss/eslint-config": "^66.6.8",
  95. "@unocss/eslint-plugin": "66.6.8",
  96. "@unocss/transformer-variant-group": "^66.6.8",
  97. "@vitejs/plugin-vue": "^6.0.6",
  98. "@vitejs/plugin-vue-jsx": "^5.1.5",
  99. "autoprefixer": "^10.5.0",
  100. "commitizen": "^4.3.2",
  101. "consola": "^3.4.2",
  102. "cz-git": "^1.14.0",
  103. "eslint": "^10.3.0",
  104. "eslint-config-prettier": "^10.1.8",
  105. "eslint-plugin-vue": "^10.9.1",
  106. "jiti": "^2.6.1",
  107. "lint-staged": "^16.4.0",
  108. "postcss": "^8.5.14",
  109. "postcss-html": "^1.8.1",
  110. "postcss-less": "^6.0.0",
  111. "postcss-scss": "^4.0.9",
  112. "prettier": "^3.8.3",
  113. "rimraf": "^6.1.3",
  114. "rollup": "^4.60.3",
  115. "sass": "^1.99.0",
  116. "simple-git-hooks": "^2.14.0",
  117. "stylelint": "^17.11.0",
  118. "stylelint-config-html": "^1.1.0",
  119. "stylelint-config-recess-order": "^7.8.0",
  120. "stylelint-config-recommended": "^18.0.0",
  121. "stylelint-config-standard": "^40.0.0",
  122. "stylelint-order": "^8.1.1",
  123. "typescript": "6.0.3",
  124. "typescript-eslint": "^8.59.2",
  125. "unocss": "^66.6.8",
  126. "unocss-preset-animations": "^1.3.0",
  127. "unplugin-auto-import": "^21.0.0",
  128. "unplugin-element-plus": "^0.11.2",
  129. "unplugin-turbo-console": "^2.3.3",
  130. "unplugin-vue-components": "^32.0.0",
  131. "vite": "8.1.4",
  132. "vite-plugin-compression": "^0.5.1",
  133. "vite-plugin-svg-icons-ng": "^1.9.0",
  134. "vite-plugin-vue-devtools": "^8.2.1",
  135. "vue-eslint-parser": "^10.4.0",
  136. "vue-tsc": "^3.2.8"
  137. },
  138. "config": {
  139. "commitizen": {
  140. "path": "node_modules/cz-git"
  141. }
  142. },
  143. "simple-git-hooks": {
  144. "pre-commit": "pnpm exec lint-staged"
  145. }
  146. }