package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "tg-live-game-web",
  3. "private": true,
  4. "version": "1.0.0",
  5. "type": "module",
  6. "scripts": {
  7. "dev": "vite",
  8. "build": "vue-tsc -b && vite build",
  9. "preview": "vite preview",
  10. "lint": "eslint . --ext .vue,.js,.jsx,.ts,.tsx",
  11. "lint:fix": "eslint . --ext .vue,.js,.jsx,.ts,.tsx --fix",
  12. "prettier": "prettier --write .",
  13. "format-staged": "pretty-quick --staged",
  14. "lint-staged": "lint-staged",
  15. "test": "vitest",
  16. "test:run": "vitest run",
  17. "test:ui": "vitest --ui",
  18. "test:coverage": "vitest run --coverage",
  19. "test:e2e": "playwright test",
  20. "test:e2e:ui": "playwright test --ui",
  21. "type-check": "vue-tsc --noEmit",
  22. "prepare": "husky"
  23. },
  24. "lint-staged": {
  25. "*.{js,jsx,ts,tsx,vue}": [
  26. "eslint --fix",
  27. "prettier --write"
  28. ],
  29. "*.{css,scss,less,html,md,json}": [
  30. "prettier --write"
  31. ]
  32. },
  33. "dependencies": {
  34. "@element-plus/icons-vue": "^2.3.2",
  35. "axios": "^1.13.2",
  36. "element-plus": "^2.13.0",
  37. "hls.js": "^1.6.15",
  38. "pinia": "^3.0.4",
  39. "sass": "^1.97.1",
  40. "vue": "^3.5.24",
  41. "vue-router": "^4.6.4"
  42. },
  43. "devDependencies": {
  44. "@commitlint/cli": "^20.3.0",
  45. "@commitlint/config-conventional": "^20.3.0",
  46. "@playwright/test": "^1.57.0",
  47. "@types/node": "^20.17.0",
  48. "@typescript-eslint/eslint-plugin": "^8.52.0",
  49. "@typescript-eslint/parser": "^8.52.0",
  50. "@vitejs/plugin-vue": "^5.2.0",
  51. "@vitest/coverage-v8": "^4.0.16",
  52. "@vue/test-utils": "^2.4.6",
  53. "@vue/tsconfig": "^0.7.0",
  54. "eslint": "^8.57.1",
  55. "eslint-config-airbnb-base": "^15.0.0",
  56. "eslint-config-prettier": "^10.1.8",
  57. "eslint-plugin-import": "^2.32.0",
  58. "eslint-plugin-prettier": "^5.5.4",
  59. "eslint-plugin-vue": "^9.33.0",
  60. "happy-dom": "^20.1.0",
  61. "husky": "^9.1.7",
  62. "lint-staged": "^16.2.7",
  63. "prettier": "^3.7.4",
  64. "pretty-quick": "^4.2.2",
  65. "typescript": "~5.6.3",
  66. "unplugin-auto-import": "^20.3.0",
  67. "unplugin-vue-components": "^30.0.0",
  68. "vite": "^5.4.0",
  69. "vitest": "^4.0.16",
  70. "vue-tsc": "^2.2.0"
  71. }
  72. }