UNPKG

@enkaku/message-transport

Version:

MessagePort transport for Enkaku RPC clients and servers

43 lines 1.23 kB
{ "name": "@enkaku/message-transport", "version": "0.12.0", "license": "MIT", "homepage": "https://enkaku.dev", "description": "MessagePort transport for Enkaku RPC clients and servers", "keywords": [ "message", "transport", "rpc", "messageport", "web", "browser" ], "repository": { "type": "git", "url": "https://github.com/TairuFramework/enkaku", "directory": "packages/message-transport" }, "type": "module", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { ".": "./lib/index.js" }, "files": [ "lib/*" ], "sideEffects": false, "dependencies": { "@enkaku/transport": "^0.12.0" }, "scripts": { "build:clean": "del lib", "build:js": "swc src -d ./lib --config-file ../../swc.json --strip-leading-paths", "build:types": "tsc --emitDeclarationOnly --skipLibCheck", "build:types:ci": "tsc --emitDeclarationOnly --skipLibCheck --declarationMap false", "build": "pnpm run build:clean && pnpm run build:js && pnpm run build:types", "test:types": "tsc --noEmit", "test:unit": "node --experimental-vm-modules ../../node_modules/jest/bin/jest.js", "test": "pnpm run test:types && pnpm run test:unit" } }