package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "vite-scene-web",
  3. "version": "2.0.0",
  4. "private": true,
  5. "type": "module",
  6. "scripts": {
  7. "serve": "cross-env VITE_APP_TITLE=大理洱海科普馆 VITE_APP_HOT_DOMAIN=./hotspot.html vite",
  8. "build:test": "cross-env VITE_APP_TITLE=大理洱海科普馆 VITE_APP_HOT_DOMAIN=./hotspot.html run-p type-check \"build-only {@}\" --",
  9. "build:offline": "cross-env VITE_APP_OFFLINE=1 npm run build:test && cross-env node ./scripts/generate-offline-config.js && replace-in-file --configFile ./scripts/offline-replace-config.json",
  10. "push:test": "cross-env node ./scripts/publish.js",
  11. "preview": "vite preview",
  12. "build-only": "vite build",
  13. "type-check": "vue-tsc --build --force"
  14. },
  15. "dependencies": {
  16. "axios": "^1.7.8",
  17. "clipboard": "^2.0.11",
  18. "element-plus": "^2.8.8",
  19. "lodash": "^4.17.21",
  20. "pinia": "^2.2.6",
  21. "qrcode": "^1.5.4",
  22. "query-string": "^9.1.1",
  23. "swiper": "^11.1.15",
  24. "v-viewer": "^3.0.21",
  25. "vue": "^3.5.12",
  26. "vue-qrcode": "^2.2.2",
  27. "vue-router": "^4.4.5",
  28. "vue3-video-play": "^1.3.2"
  29. },
  30. "devDependencies": {
  31. "@tsconfig/node22": "^22.0.0",
  32. "@types/node": "^22.9.0",
  33. "@vitejs/plugin-vue": "^5.1.4",
  34. "@vitejs/plugin-vue-jsx": "^4.0.1",
  35. "@vue/tsconfig": "^0.5.1",
  36. "cross-env": "^7.0.3",
  37. "less": "^4.2.1",
  38. "npm-run-all2": "^7.0.1",
  39. "replace-in-file": "^8.3.0",
  40. "sass": "^1.81.0",
  41. "typescript": "~5.6.3",
  42. "unplugin-auto-import": "^0.18.5",
  43. "unplugin-vue-components": "^0.27.4",
  44. "vite": "^5.4.10",
  45. "vite-plugin-html": "^3.2.2",
  46. "vite-plugin-vue-devtools": "^7.5.4",
  47. "vue-tsc": "^2.1.10"
  48. }
  49. }