package.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. {
  2. "name": "fastapiadmin",
  3. "description": "Vue3 + Vite + TypeScript + Element-Plus 的后台管理模板",
  4. "version": "2.2.0",
  5. "private": true,
  6. "type": "module",
  7. "scripts": {
  8. "i": "pnpm install",
  9. "dev": "vite",
  10. "dev:force": "vite --force",
  11. "prod": "vite --mode prod",
  12. "build": "vue-tsc --noEmit & vite build",
  13. "build:pro": "pnpm vite build --mode pro",
  14. "build:gitee": "pnpm vite build --mode gitee",
  15. "build:dev": "pnpm vite build --mode dev",
  16. "build:test": "pnpm vite build --mode test",
  17. "serve:pro": "pnpm vite preview --mode pro",
  18. "serve:dev": "pnpm vite preview --mode dev",
  19. "serve:test": "pnpm vite preview --mode test",
  20. "clean": "pnpx rimraf node_modules",
  21. "ts:check": "pnpm vue-tsc --noEmit --skipLibCheck",
  22. "npm:check": "pnpx npm-check-updates -u",
  23. "clean:cache": "pnpx rimraf node_modules/.cache node_modules/.vite",
  24. "prepare": "husky",
  25. "p": "plop",
  26. "icon": "esno ./scripts/icon.ts",
  27. "preview": "vite preview",
  28. "type-check": "vue-tsc --noEmit",
  29. "lint:format": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,tsx,css,less,vue,html,md}\"",
  30. "lint:style": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  31. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.cjs",
  32. "lint:eslint": "eslint --cache \"src/**/*.{vue,ts,js}\" --fix",
  33. "lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,css,scss,vue,html,md}\"",
  34. "lint:stylelint": "stylelint --cache \"**/*.{css,scss,vue}\" --fix",
  35. "lint": "pnpm run lint:eslint && pnpm run lint:prettier && pnpm run lint:stylelint",
  36. "preinstall": "npx only-allow pnpm",
  37. "commit": "git-cz"
  38. },
  39. "config": {
  40. "commitizen": {
  41. "path": "node_modules/cz-git"
  42. }
  43. },
  44. "lint-staged": {
  45. "*.{js,ts}": [
  46. "eslint --fix",
  47. "prettier --write"
  48. ],
  49. "*.{cjs,json}": [
  50. "prettier --write"
  51. ],
  52. "*.{vue,html}": [
  53. "eslint --fix",
  54. "prettier --write",
  55. "stylelint --fix"
  56. ],
  57. "*.{scss,css}": [
  58. "stylelint --fix",
  59. "prettier --write"
  60. ],
  61. "*.md": [
  62. "prettier --write"
  63. ]
  64. },
  65. "dependencies": {
  66. "@element-plus/icons-vue": "^2.3.1",
  67. "@vue-flow/background": "^1.3.2",
  68. "@vue-flow/controls": "^1.1.3",
  69. "@vue-flow/core": "^1.48.1",
  70. "@vue-flow/minimap": "^1.5.4",
  71. "@vueuse/core": "^13.5.0",
  72. "@wangeditor-next/editor": "^5.6.49",
  73. "@wangeditor-next/editor-for-vue": "^5.1.14",
  74. "animate.css": "^4.1.1",
  75. "axios": "^1.10.0",
  76. "clipboard": "^2.0.11",
  77. "codemirror": "^5.65.19",
  78. "codemirror-editor-vue3": "^2.8.0",
  79. "dagre": "^0.8.5",
  80. "dayjs": "^1.11.13",
  81. "dompurify": "^3.3.1",
  82. "echarts": "^5.6.0",
  83. "element-plus": "^2.11.0",
  84. "exceljs": "^4.4.0",
  85. "file-saver": "^2.0.5",
  86. "highlight.js": "^11.11.1",
  87. "js-beautify": "^1.15.4",
  88. "markdown-it": "^14.1.0",
  89. "markdown-it-highlightjs": "^4.2.0",
  90. "nprogress": "^0.2.0",
  91. "path-browserify": "^1.0.1",
  92. "path-to-regexp": "^8.2.0",
  93. "pinia": "^3.0.3",
  94. "pinia-plugin-persistedstate": "^4.4.1",
  95. "qrcode": "^1.5.4",
  96. "qs": "^6.14.0",
  97. "vue": "^3.5.17",
  98. "vue-draggable-plus": "^0.6.0",
  99. "vue-i18n": "^11.1.10",
  100. "vue-json-pretty": "^2.5.0",
  101. "vue-router": "^4.5.1",
  102. "vue-web-terminal": "^3.4.1",
  103. "vue3-cron-plus": "^0.1.9",
  104. "vuedraggable": "^4.1.0"
  105. },
  106. "devDependencies": {
  107. "@commitlint/cli": "^20.5.0",
  108. "@eslint/js": "^9.32.0",
  109. "@iconify/utils": "^2.3.0",
  110. "@types/codemirror": "^5.60.16",
  111. "@types/dagre": "^0.7.53",
  112. "@types/dompurify": "^3.2.0",
  113. "@types/file-saver": "^2.0.7",
  114. "@types/markdown-it": "^14.1.2",
  115. "@types/node": "^22.16.5",
  116. "@types/nprogress": "^0.2.3",
  117. "@types/path-browserify": "^1.0.3",
  118. "@types/qrcode": "^1.5.6",
  119. "@types/qs": "^6.14.0",
  120. "@typescript-eslint/eslint-plugin": "^8.38.0",
  121. "@typescript-eslint/parser": "^8.38.0",
  122. "@vitejs/plugin-vue": "^5.2.4",
  123. "autoprefixer": "^10.4.21",
  124. "commitizen": "^4.3.1",
  125. "cz-git": "^1.12.0",
  126. "eslint": "^9.32.0",
  127. "eslint-config-prettier": "^10.1.8",
  128. "eslint-plugin-prettier": "^5.5.3",
  129. "eslint-plugin-vue": "^10.4.0",
  130. "fs-extra": "^11.2.0",
  131. "globals": "^15.15.0",
  132. "husky": "^9.1.7",
  133. "lint-staged": "^15.5.2",
  134. "plop": "^4.0.1",
  135. "postcss": "^8.5.6",
  136. "postcss-html": "^1.8.0",
  137. "postcss-scss": "^4.0.9",
  138. "prettier": "^3.6.2",
  139. "sass": "^1.89.2",
  140. "stylelint": "^16.25.0",
  141. "stylelint-config-html": "^1.1.0",
  142. "stylelint-config-recess-order": "^6.1.0",
  143. "stylelint-config-recommended": "^15.0.0",
  144. "stylelint-config-recommended-scss": "^14.1.0",
  145. "stylelint-config-recommended-vue": "^1.6.1",
  146. "stylelint-prettier": "^5.0.3",
  147. "terser": "^5.43.1",
  148. "typescript": "^5.8.3",
  149. "typescript-eslint": "^8.38.0",
  150. "unocss": "66.2.3",
  151. "unplugin-auto-import": "^19.3.0",
  152. "unplugin-vue-components": "^28.8.0",
  153. "vite": "^6.3.5",
  154. "vue-eslint-parser": "^10.2.0",
  155. "vue-tsc": "^2.2.12"
  156. },
  157. "packageManager": "pnpm@9.15.3",
  158. "engines": {
  159. "node": ">=18.0.0",
  160. "npm": ">=10.0.0",
  161. "pnpm": ">=8.1.0"
  162. },
  163. "repository": {
  164. "type": "git",
  165. "url": "https://gitee.com/fastapiadmin/FastapiAdmin.git"
  166. },
  167. "bugs": {
  168. "url": "https://gitee.com/fastapiadmin/FastapiAdmin/issues"
  169. },
  170. "author": "fastapiadmin <948080782@qq.com>",
  171. "license": "MIT",
  172. "homepage": "https://gitee.com/fastapiadmin/FastapiAdmin"
  173. }