package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "private": true,
  3. "packageManager": "pnpm@8.1.0",
  4. "scripts": {
  5. "build": "vite build",
  6. "dev": "vite --port 3500 --open",
  7. "lint": "eslint .",
  8. "typecheck": "vue-tsc --noEmit",
  9. "preview": "vite preview",
  10. "test": "vitest",
  11. "up": "taze major -I",
  12. "postinstall": "npx simple-git-hooks",
  13. "prepare": "husky install"
  14. },
  15. "dependencies": {
  16. "@vueuse/core": "^9.13.0",
  17. "element-plus": "^2.3.2",
  18. "sass": "^1.62.0",
  19. "vue": "^3.2.47",
  20. "vue-router": "^4.1.6"
  21. },
  22. "devDependencies": {
  23. "@antfu/eslint-config": "^0.38.2",
  24. "@iconify-json/carbon": "^1.1.16",
  25. "@types/node": "^18.15.11",
  26. "@unocss/reset": "^0.50.6",
  27. "@vitejs/plugin-vue": "^4.1.0",
  28. "@vue-macros/volar": "^0.9.4",
  29. "@vue/test-utils": "^2.3.2",
  30. "eslint": "^8.37.0",
  31. "husky": "^8.0.0",
  32. "jsdom": "^21.1.1",
  33. "lint-staged": "^13.2.0",
  34. "pnpm": "^8.1.0",
  35. "simple-git-hooks": "^2.8.1",
  36. "taze": "^0.9.1",
  37. "typescript": "^5.0.2",
  38. "unocss": "^0.50.6",
  39. "unplugin-auto-import": "^0.15.2",
  40. "unplugin-vue-components": "^0.24.1",
  41. "unplugin-vue-macros": "^1.11.2",
  42. "vite": "^4.2.1",
  43. "vite-plugin-pages": "^0.29.0",
  44. "vitest": "^0.29.8",
  45. "vue-tsc": "^1.2.0"
  46. },
  47. "simple-git-hooks": {
  48. "pre-commit": "pnpm lint-staged"
  49. },
  50. "lint-staged": {
  51. "*": "eslint --fix"
  52. },
  53. "eslintConfig": {
  54. "extends": "@antfu"
  55. }
  56. }