package.json 4.6 KB

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