UNPKG

comctx

Version:

Cross-context RPC solution with type safety and flexible adapters.

52 lines (51 loc) 1.28 kB
{ "name": "comctx", "version": "1.0.0", "description": "Cross-context RPC solution with type safety and flexible adapters.", "type": "module", "main": "dist/index.js", "scripts": { "dev": "tsup src/index.ts --dts --format esm --sourcemap --watch", "build": "tsup src/index.ts --dts --format esm --sourcemap --minify --clean", "lint": "eslint --fix --cache", "check": "tsc --noEmit" }, "keywords": [ "postMessage", "BroadcastChannel", "MessageChannel", "ipcMain", "MessagePort", "ServiceWorker", "WebWorker", "Browser Extension", "rpc", "comlink", "Electron", "iframe", "React Native" ], "author": "molvqingtai", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/molvqingtai/comctx.git" }, "bugs": { "url": "https://github.com/molvqingtai/comctx/issues" }, "homepage": "https://github.com/molvqingtai/comctx#readme", "devDependencies": { "@eslint/js": "^9.20.0", "eslint": "^9.20.0", "eslint-config-prettier": "^10.0.1", "eslint-plugin-prettier": "^5.2.3", "globals": "^15.14.0", "tsup": "^8.3.6", "typescript": "^5.7.3", "typescript-eslint": "^8.24.0" }, "publishConfig": { "access": "public" } }