package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "douyin-vue",
  3. "version": "1.1.0",
  4. "private": true,
  5. "type": "module",
  6. "scripts": {
  7. "dev": "vite --host",
  8. "start": "vite --host",
  9. "serve": "vite --host",
  10. "build": "vite build",
  11. "test-del-json": "node node/remove-dist-json.js",
  12. "build-uni-app": "vite build --mode uni",
  13. "build-gp-pages": "vite build --mode gp_pages",
  14. "build-gitee-pages": "vite build --mode gitee_pages && pnpm run test-del-json",
  15. "build-only": "vite build",
  16. "build-check": "run-p type-check \"build-only {@}\" --",
  17. "type-check": "vue-tsc --build --force",
  18. "report": "vite build",
  19. "preview": "vite preview",
  20. "lint": "eslint --fix . --ext .vue,.js,.ts,.tsx,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
  21. "format": "prettier --write src/",
  22. "prepare": "husky",
  23. "commit": "git-cz"
  24. },
  25. "dependencies": {
  26. "@hyoga/uni-socket.io": "^1.0.1",
  27. "@jambonn/vue-lazyload": "1.0.9",
  28. "axios": "^1.6.8",
  29. "axios-mock-adapter": "^1.22.0",
  30. "core-js": "3.21.1",
  31. "fingerprintjs2": "^2.1.4",
  32. "libarchive-wasm": "^1.1.0",
  33. "pinia": "^2.1.7",
  34. "vconsole": "^3.15.1",
  35. "vue": "3.4.21",
  36. "vue-router": "4.3.0",
  37. "xgplayer": "^3.0.20",
  38. "xgplayer-hls": "^3.0.20",
  39. "xgplayer-hls.js": "^3.0.20"
  40. },
  41. "devDependencies": {
  42. "@commitlint/cli": "^19.2.1",
  43. "@commitlint/config-conventional": "^19.1.0",
  44. "@iconify/vue": "^4.1.1",
  45. "@rushstack/eslint-patch": "^1.3.3",
  46. "@tsconfig/node20": "^20.1.2",
  47. "@types/node": "^20.11.28",
  48. "@vitejs/plugin-vue": "^5.0.4",
  49. "@vitejs/plugin-vue-jsx": "^3.1.0",
  50. "@vue/eslint-config-prettier": "^8.0.0",
  51. "@vue/eslint-config-typescript": "^12.0.0",
  52. "@vue/tsconfig": "^0.5.1",
  53. "commitizen": "^4.3.0",
  54. "cz-conventional-changelog": "^3.3.0",
  55. "eslint": "^8.57.0",
  56. "eslint-plugin-vue": "^9.17.0",
  57. "git-last-commit": "^1.0.1",
  58. "husky": "^9.0.11",
  59. "less": "4.1.3",
  60. "lint-staged": "^15.2.2",
  61. "prettier": "^3.2.5",
  62. "rollup-plugin-visualizer": "^5.9.2",
  63. "sass": "^1.78.0",
  64. "typescript": "5.3.3",
  65. "unplugin-vue-macros": "^2.9.1",
  66. "vite": "^5.2.0",
  67. "vite-plugin-cdn-import": "0.3.5",
  68. "vue-tsc": "^2.0.6"
  69. },
  70. "lint-staged": {
  71. "*.{js,ts,vue,jsx,tsx}": [
  72. "eslint --fix",
  73. "prettier --write"
  74. ],
  75. "*.{scss,less,styl,html}": [
  76. "prettier --write"
  77. ]
  78. },
  79. "config": {
  80. "commitizen": {
  81. "path": "./node_modules/cz-conventional-changelog"
  82. }
  83. }
  84. }