package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "name": "vue3-admin-ts",
  3. "version": "1.9.1",
  4. "license": "MIT",
  5. "author": "kuanghua(869653722@qq.com)",
  6. "packageManager": "pnpm@7.9.0",
  7. "scripts": {
  8. "dev": "vite --mode serve-dev",
  9. "test": "vite --mode serve-test",
  10. "build:test": "vite build --mode build-test",
  11. "build": "vite build --mode build",
  12. "preview": "npm run build && vite preview ",
  13. "lint": "eslint --ext .js,.jsx,.vue,.ts,.tsx src --fix",
  14. "prepare": "husky install",
  15. "tsc-check": "tsc",
  16. "vitest": "vitest --ui",
  17. "coverage": "vitest run --coverage"
  18. },
  19. "peerDependencies": {
  20. "vue": "^3.2.26"
  21. },
  22. "dependencies": {
  23. "@element-plus/icons-vue": "^2.0.9",
  24. "js-error-collection": "^1.0.7",
  25. "axios": "0.21.3",
  26. "echarts": "5.3.2",
  27. "element-plus": "^2.2.9",
  28. "mitt": "^3.0.0",
  29. "moment-mini": "2.22.1",
  30. "nprogress": "0.2.0",
  31. "path": "0.12.7",
  32. "path-to-regexp": "6.2.0",
  33. "pinia": "^2.0.16",
  34. "tinymce": "4.9.11",
  35. "vue": "^3.2.37",
  36. "vue-router": "4.0.14"
  37. },
  38. "devDependencies": {
  39. "@babel/eslint-parser": "7.16.3",
  40. "@types/echarts": "4.9.7",
  41. "@types/mockjs": "1.0.6",
  42. "@typescript-eslint/eslint-plugin": "5.5.0",
  43. "@typescript-eslint/parser": "5.5.0",
  44. "@vitejs/plugin-legacy": "1.6.4",
  45. "@vitejs/plugin-vue-jsx": "1.3.1",
  46. "eslint": "7.32.0",
  47. "eslint-config-prettier": "8.3.0",
  48. "eslint-define-config": "1.2.0",
  49. "eslint-plugin-import": "2.25.3",
  50. "eslint-plugin-prettier": "4.0.0",
  51. "eslint-plugin-vue": "8.1.1",
  52. "husky": "7.0.2",
  53. "mockjs": "1.1.0",
  54. "prettier": "2.2.1",
  55. "svg-sprite-loader": "6.0.11",
  56. "vite-plugin-html": "^3.2.0",
  57. "vite-plugin-mock": "^2.9.6",
  58. "vite-plugin-style-import": "1.2.1",
  59. "vite-plugin-svg-icons": "1.0.5",
  60. "majestic": "^1.8.1",
  61. "@vue/cli-service": "4.5.17",
  62. "@types/node": "^17.0.35",
  63. "@vitejs/plugin-vue": "^2.3.3",
  64. "sass": "^1.52.1",
  65. "typescript": "^4.7.2",
  66. "unplugin-auto-import": "^0.5.11",
  67. "unplugin-vue-components": "^0.19.5",
  68. "vite": "^3.0.7",
  69. "@vueuse/core": "^8.7.5",
  70. "vue-tsc": "^0.34.16",
  71. "vite-plugin-mkcert": "^1.7.2",
  72. "unplugin-vue-define-options": "^0.6.1",
  73. "unocss": "^0.33.5",
  74. "@vitest/coverage-c8": "^0.22.1",
  75. "@vitest/ui": "^0.22.1",
  76. "vitest": "^0.22.1",
  77. "@vue/test-utils": "^2.0.2",
  78. "resize-observer-polyfill": "^1.5.1",
  79. "jsdom": "16.4.0"
  80. },
  81. "pnpm": {
  82. "peerDependencyRules": {
  83. "ignoreMissing": [
  84. "html-webpack-plugin",
  85. "vite-plugin-mock",
  86. "unplugin-auto-import",
  87. "unplugin-vue-components",
  88. "vue-template-compiler",
  89. "unocss",
  90. "unplugin",
  91. "vite-plugin-mock",
  92. "@vitejs/plugin-legacy",
  93. "@vitejs/plugin-vue",
  94. "@vitejs/*",
  95. "@babel/*",
  96. "vite",
  97. "vue",
  98. "@unocss/vite",
  99. "rollup",
  100. "vue-jest",
  101. "@babel/*"
  102. ]
  103. }
  104. },
  105. "browserslist": [
  106. "> 1%",
  107. "not ie 11",
  108. "not op_mini all"
  109. ],
  110. "engines": {
  111. "node": ">= 16 <18",
  112. "pnpm": ">= 6 <8"
  113. }
  114. }