package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "private": true,
  3. "packageManager": "pnpm@8.2.0",
  4. "scripts": {
  5. "build": "vite build",
  6. "dev": "vite --port 3333 --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. },
  14. "dependencies": {
  15. "@vueuse/core": "^9.13.0",
  16. "element-plus": "^2.3.4",
  17. "vue": "^3.2.47",
  18. "vue-router": "^4.1.6"
  19. },
  20. "devDependencies": {
  21. "@antfu/eslint-config": "^0.38.4",
  22. "@iconify/json": "^2.2.55",
  23. "@types/node": "^18.15.11",
  24. "@unocss/eslint-config": "^0.51.4",
  25. "@unocss/reset": "^0.51.4",
  26. "@vitejs/plugin-vue": "^4.1.0",
  27. "@vue-macros/volar": "^0.9.5",
  28. "@vue/test-utils": "^2.3.2",
  29. "eslint": "^8.38.0",
  30. "jsdom": "^21.1.1",
  31. "lint-staged": "^13.2.1",
  32. "pnpm": "^8.2.0",
  33. "simple-git-hooks": "^2.8.1",
  34. "taze": "^0.9.1",
  35. "typescript": "^5.0.4",
  36. "unocss": "^0.51.4",
  37. "unplugin-auto-import": "^0.15.2",
  38. "unplugin-icons": "^0.16.1",
  39. "unplugin-vue-components": "^0.24.1",
  40. "unplugin-vue-macros": "^2.0.0",
  41. "vite": "^4.2.1",
  42. "vite-plugin-pages": "^0.29.0",
  43. "vitest": "^0.30.1",
  44. "vue-tsc": "^1.2.0"
  45. },
  46. "simple-git-hooks": {
  47. "pre-commit": "pnpm lint-staged"
  48. },
  49. "lint-staged": {
  50. "*": "eslint --fix"
  51. },
  52. "eslintConfig": {
  53. "extends": [
  54. "@antfu",
  55. "@unocss"
  56. ]
  57. }
  58. }