package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. "@jambonn/vue-lazyload": "1.0.9",
  27. "axios": "^1.6.8",
  28. "axios-mock-adapter": "^1.22.0",
  29. "core-js": "3.21.1",
  30. "libarchive-wasm": "^1.1.0",
  31. "mockjs": "^1.1.0",
  32. "pinia": "^2.1.7",
  33. "vue": "3.4.21",
  34. "vue-router": "4.3.0"
  35. },
  36. "devDependencies": {
  37. "@commitlint/cli": "^19.2.1",
  38. "@commitlint/config-conventional": "^19.1.0",
  39. "@iconify/vue": "^4.1.1",
  40. "@rushstack/eslint-patch": "^1.3.3",
  41. "@tsconfig/node20": "^20.1.2",
  42. "@types/node": "^20.11.28",
  43. "@vitejs/plugin-vue": "^5.0.4",
  44. "@vitejs/plugin-vue-jsx": "^3.1.0",
  45. "@vue/eslint-config-prettier": "^8.0.0",
  46. "@vue/eslint-config-typescript": "^12.0.0",
  47. "@vue/tsconfig": "^0.5.1",
  48. "commitizen": "^4.3.0",
  49. "cz-conventional-changelog": "^3.3.0",
  50. "eslint": "^8.57.0",
  51. "eslint-plugin-vue": "^9.17.0",
  52. "git-last-commit": "^1.0.1",
  53. "husky": "^9.0.11",
  54. "less": "4.1.3",
  55. "lint-staged": "^15.2.2",
  56. "prettier": "^3.2.5",
  57. "rollup-plugin-visualizer": "^5.9.2",
  58. "typescript": "5.3.3",
  59. "unplugin-vue-macros": "^2.9.1",
  60. "vite": "^5.2.0",
  61. "vite-plugin-cdn-import": "0.3.5",
  62. "vue-tsc": "^2.0.6"
  63. },
  64. "lint-staged": {
  65. "*.{js,ts,vue,jsx,tsx}": [
  66. "eslint --fix",
  67. "prettier --write"
  68. ],
  69. "*.{scss,less,styl,html}": [
  70. "prettier --write"
  71. ]
  72. },
  73. "config": {
  74. "commitizen": {
  75. "path": "./node_modules/cz-conventional-changelog"
  76. }
  77. }
  78. }