package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "vite-dev-rpc",
  3. "type": "module",
  4. "version": "1.1.0",
  5. "description": "Remote procedure call for client-server communication in Vite plugins",
  6. "author": "Anthony Fu <anthonyfu117@hotmail.com>",
  7. "license": "MIT",
  8. "funding": "https://github.com/sponsors/antfu",
  9. "homepage": "https://github.com/antfu/vite-dev-rpc#readme",
  10. "repository": {
  11. "type": "git",
  12. "url": "git+https://github.com/antfu/vite-dev-rpc.git"
  13. },
  14. "bugs": {
  15. "url": "https://github.com/antfu/vite-dev-rpc/issues"
  16. },
  17. "keywords": [],
  18. "sideEffects": false,
  19. "exports": {
  20. ".": {
  21. "types": "./dist/index.d.ts",
  22. "import": "./dist/index.mjs",
  23. "require": "./dist/index.cjs"
  24. }
  25. },
  26. "main": "./dist/index.cjs",
  27. "module": "./dist/index.mjs",
  28. "types": "./dist/index.d.ts",
  29. "typesVersions": {
  30. "*": {
  31. "*": [
  32. "./dist/*",
  33. "./dist/index.d.ts"
  34. ]
  35. }
  36. },
  37. "files": [
  38. "dist"
  39. ],
  40. "peerDependencies": {
  41. "vite": "^2.9.0 || ^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0 || ^6.0.1 || ^7.0.0-0"
  42. },
  43. "dependencies": {
  44. "birpc": "^2.4.0",
  45. "vite-hot-client": "^2.1.0"
  46. },
  47. "devDependencies": {
  48. "@antfu/eslint-config": "^4.16.1",
  49. "@antfu/ni": "^25.0.0",
  50. "@babel/types": "^7.27.7",
  51. "@types/node": "^24.0.7",
  52. "bumpp": "^10.2.0",
  53. "eslint": "^9.30.0",
  54. "esno": "^4.8.0",
  55. "pnpm": "^10.12.4",
  56. "rimraf": "^6.0.1",
  57. "typescript": "^5.8.3",
  58. "unbuild": "^3.5.0",
  59. "vite": "^7.0.0",
  60. "vitest": "^3.2.4"
  61. },
  62. "scripts": {
  63. "build": "rimraf dist && unbuild",
  64. "dev": "unbuild --stub",
  65. "lint": "eslint .",
  66. "play": "nr dev && vite playground",
  67. "release": "bumpp && pnpm publish",
  68. "start": "esno src/index.ts",
  69. "test": "vitest",
  70. "typecheck": "tsc --noEmit"
  71. }
  72. }