package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {
  2. "name": "vue-admin-perfect",
  3. "private": true,
  4. "version": "0.0.0",
  5. "scripts": {
  6. "dev": "vite",
  7. "build:dev": "vite build --mode development",
  8. "build:test": "vite build --mode test",
  9. "build:prod": "vite build --mode production",
  10. "commit": "git add -A && czg && git push",
  11. "build": "vite build",
  12. "preview": "vite preview",
  13. "build:ts": "vue-tsc --noEmit --skipLibCheck && vite build",
  14. "lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx",
  15. "lint:fix": "eslint . --ext .vue,.js,.ts,.jsx,.tsx --fix",
  16. "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  17. "prepare": "husky install"
  18. },
  19. "dependencies": {
  20. "@better-scroll/core": "^2.4.2",
  21. "@vueuse/core": "^9.1.1",
  22. "@wangeditor/editor": "^5.1.14",
  23. "@wangeditor/editor-for-vue": "^5.1.12",
  24. "axios": "^0.27.2",
  25. "clipboard": "^2.0.10",
  26. "codemirror": "^5.65.9",
  27. "core-js": "^3.6.5",
  28. "dayjs": "^1.11.4",
  29. "echarts": "^5.3.1",
  30. "element-plus": "^2.2.28",
  31. "exceljs": "^4.3.0",
  32. "file-saver": "^2.0.5",
  33. "fuse.js": "^6.6.2",
  34. "jszip": "^3.9.1",
  35. "mavon-editor": "^2.10.4",
  36. "md-editor-v3": "^1.11.3",
  37. "nprogress": "^0.2.0",
  38. "path-browserify": "^1.0.1",
  39. "path-to-regexp": "^6.2.0",
  40. "pinia": "^2.0.21",
  41. "pinia-plugin-persistedstate": "^2.1.1",
  42. "print-js": "^1.6.0",
  43. "raf": "^3.4.1",
  44. "resize-observer-polyfill": "^1.5.1",
  45. "sass": "^1.54.0",
  46. "splitpanes": "^3.1.1",
  47. "svg-sprite-loader": "^6.0.11",
  48. "vue": "^3.2.39",
  49. "vue-cropper": "^1.0.3",
  50. "vue-cropperjs": "^5.0.0",
  51. "vue-fuse": "^4.1.1",
  52. "vue-i18n": "^11.1.12",
  53. "vue-mugen-scroll": "^0.2.6",
  54. "vue-qr": "^4.0.6",
  55. "vue-router": "^4.1.6",
  56. "vue-splitpane": "^1.0.6",
  57. "vue3-text-clamp": "^0.1.1",
  58. "vuedraggable": "^4.1.0",
  59. "vuex": "^4.0.0-0",
  60. "xlsx": "^0.18.5"
  61. },
  62. "devDependencies": {
  63. "@element-plus/icons-vue": "^2.3.1",
  64. "@typescript-eslint/eslint-plugin": "^5.32.0",
  65. "@typescript-eslint/parser": "^5.32.0",
  66. "@vitejs/plugin-vue": "^3.0.0",
  67. "@vue/eslint-config-typescript": "^12.0.0",
  68. "commitizen": "^4.2.5",
  69. "consola": "^2.15.3",
  70. "cz-git": "^1.3.12",
  71. "czg": "^1.3.12",
  72. "dart-sass": "^1.25.0",
  73. "eslint": "^8.21.0",
  74. "eslint-config-prettier": "^8.5.0",
  75. "eslint-plugin-prettier": "^4.2.1",
  76. "eslint-plugin-vue": "^9.3.0",
  77. "fast-glob": "^3.2.11",
  78. "husky": "^7.0.4",
  79. "lint-staged": "^12.3.4",
  80. "mrm": "^3.0.10",
  81. "prettier": "^2.7.1",
  82. "typescript": "^4.6.4",
  83. "unplugin-auto-import": "^0.10.3",
  84. "unplugin-vue-components": "^0.21.2",
  85. "unplugin-vue-define-options": "^0.7.3",
  86. "vite": "^3.0.0",
  87. "vite-plugin-compression": "^0.5.1",
  88. "vite-plugin-style-import": "^2.0.0",
  89. "vite-plugin-svg-icons": "^2.0.1",
  90. "vite-plugin-vue-setup-extend": "^0.4.0",
  91. "vue-tsc": "^0.38.4"
  92. },
  93. "config": {
  94. "commitizen": {
  95. "path": "node_modules/cz-git"
  96. }
  97. },
  98. "lint-staged": {
  99. "src/**/*.{vue,js,ts,jsx,tsx}": [
  100. "npm run lint:prettier",
  101. "npm run lint:fix",
  102. "git add ."
  103. ]
  104. }
  105. }