package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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": "prettier --write ./src",
  14. "format-staged": "git diff --name-only --cached --diff-filter=ACMRT | grep -E '\\.(js|ts|jsx|tsx|css|scss|json|md|vue)$' | xargs npx prettier --write",
  15. "lint-staged": "lint-staged",
  16. "test": "vitest",
  17. "test:run": "vitest run",
  18. "test:ui": "vitest --ui",
  19. "test:coverage": "vitest run --coverage",
  20. "test:e2e": "playwright test",
  21. "test:e2e:ui": "playwright test --ui",
  22. "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
  23. "prepare": "husky install"
  24. },
  25. "lint-staged": {
  26. "*.{vue,js,ts}": [
  27. "prettier --write"
  28. ]
  29. },
  30. "dependencies": {
  31. "@element-plus/icons-vue": "^2.1.0",
  32. "@vueuse/core": "^14.1.0",
  33. "axios": "^1.4.0",
  34. "dayjs": "^1.11.19",
  35. "element-plus": "2.7.5",
  36. "hls.js": "^1.4.10",
  37. "lodash-es": "^4.17.22",
  38. "nprogress": "^0.2.0",
  39. "pinia": "^2.0.36",
  40. "sass": "^1.62.1",
  41. "vue": "^3.5.13",
  42. "vue-router": "^4.2.0"
  43. },
  44. "devDependencies": {
  45. "@commitlint/cli": "^12.1.1",
  46. "@commitlint/config-conventional": "^12.1.1",
  47. "@playwright/test": "^1.57.0",
  48. "@types/lodash-es": "^4.17.12",
  49. "@types/node": "^18.16.8",
  50. "@types/nprogress": "^0.2.3",
  51. "@typescript-eslint/eslint-plugin": "^8.20.0",
  52. "@typescript-eslint/parser": "^8.20.0",
  53. "@vitejs/plugin-vue": "5.0.5",
  54. "@vitest/coverage-v8": "^4.0.16",
  55. "@vitest/ui": "^4.0.16",
  56. "@vue/test-utils": "^2.0.0-rc.4",
  57. "@vue/tsconfig": "^0.4.0",
  58. "eslint": "^8.57.1",
  59. "eslint-config-airbnb-base": "^14.2.1",
  60. "eslint-config-prettier": "^8.1.0",
  61. "eslint-plugin-import": "^2.22.1",
  62. "eslint-plugin-prettier": "^3.3.1",
  63. "eslint-plugin-vue": "^9.11.0",
  64. "happy-dom": "^20.0.11",
  65. "husky": "^6.0.0",
  66. "lint-staged": "^10.5.4",
  67. "prettier": "^2.8.8",
  68. "typescript": "~5.6.3",
  69. "unplugin-auto-import": "^0.19.0",
  70. "unplugin-vue-components": "^0.28.0",
  71. "vite": "5.3.1",
  72. "vite-plugin-vue-devtools": "^7.7.0",
  73. "vitest": "^4.0.16",
  74. "vue-tsc": "2.1.10"
  75. }
  76. }