package.json 795 B

123456789101112131415161718192021222324252627
  1. {
  2. "name": "@zcode/rpc",
  3. "version": "1.0.0",
  4. "description": "VS Code style IPC communication abstraction framework",
  5. "type": "module",
  6. "types": "./dist/index.d.ts",
  7. "exports": {
  8. ".": {
  9. "types": "./dist/index.d.ts",
  10. "default": "./src/index.ts"
  11. }
  12. },
  13. "scripts": {
  14. "test": "vitest run",
  15. "build": "tsc",
  16. "demo:basic": "node --loader ts-node/esm examples/01-basic-ipc.ts",
  17. "demo:proxy": "node --loader ts-node/esm examples/02-proxy-channel.ts",
  18. "demo:messageport": "node --loader ts-node/esm examples/03-messageport-ipc.ts",
  19. "demo:remote": "node --loader ts-node/esm examples/04-remote-connection.ts",
  20. "lint": "oxlint",
  21. "lint:fix": "oxlint --fix"
  22. },
  23. "devDependencies": {
  24. "ts-node": "^10.9.0",
  25. "typescript": "^5.9.3"
  26. }
  27. }