package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "vite-hot-client",
  3. "type": "module",
  4. "version": "2.0.4",
  5. "description": "Get Vite's import.meta.hot at runtime.",
  6. "author": "Anthony Fu <anthonyfu117@hotmail.com>",
  7. "license": "MIT",
  8. "funding": "https://github.com/sponsors/antfu",
  9. "homepage": "https://github.com/antfu/vite-hot-client#readme",
  10. "repository": {
  11. "type": "git",
  12. "url": "git+https://github.com/antfu/vite-hot-client.git"
  13. },
  14. "bugs": {
  15. "url": "https://github.com/antfu/vite-hot-client/issues"
  16. },
  17. "sideEffects": false,
  18. "exports": {
  19. ".": {
  20. "types": "./dist/index.d.ts",
  21. "import": "./dist/index.mjs"
  22. }
  23. },
  24. "main": "./dist/index.mjs",
  25. "module": "./dist/index.mjs",
  26. "types": "./dist/index.d.ts",
  27. "files": [
  28. "dist"
  29. ],
  30. "peerDependencies": {
  31. "vite": "^2.6.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0"
  32. },
  33. "devDependencies": {
  34. "@antfu/eslint-config": "^3.12.2",
  35. "@antfu/ni": "^23.2.0",
  36. "@babel/types": "^7.26.3",
  37. "@types/node": "^22.10.5",
  38. "bumpp": "^9.9.3",
  39. "eslint": "^9.17.0",
  40. "pnpm": "^9.15.3",
  41. "rimraf": "^6.0.1",
  42. "tsx": "^4.19.2",
  43. "typescript": "^5.7.3",
  44. "unbuild": "^3.2.0",
  45. "vite": "^6.0.7",
  46. "vitest": "^2.1.8"
  47. },
  48. "scripts": {
  49. "build": "rimraf dist && unbuild && tsx scripts/patch-types.ts",
  50. "dev": "unbuild --stub",
  51. "lint": "eslint .",
  52. "release": "bumpp && pnpm publish",
  53. "typecheck": "tsc --noEmit"
  54. }
  55. }