mirror of https://git.sr.ht/~statianzo/pmrpc
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
{
|
|
"name": "@statianzo/pmrpc",
|
|
"main": "lib/index.js",
|
|
"module": "lib/index.mjs",
|
|
"unpkg": "lib/index.iife.js",
|
|
"types": "lib/index.d.ts",
|
|
"version": "0.2.4",
|
|
"description": "JSON RPC over PostMessage",
|
|
"repository": "https://git.sr.ht/~statianzo/pmrpc",
|
|
"author": "statianzo",
|
|
"license": "ISC",
|
|
"files": [
|
|
"LICENSE",
|
|
"lib/index.js",
|
|
"lib/index.esm.js",
|
|
"lib/index.umd.js",
|
|
"lib/index.d.js",
|
|
"lib/JsonRpc.d.ts"
|
|
],
|
|
"scripts": {
|
|
"prepublishOnly": "yarn run build",
|
|
"build": "yarn run build:bundle && yarn run build:types",
|
|
"build:bundle": "node ./scripts/bundle.mjs",
|
|
"build:types": "tsc",
|
|
"test": "tap --node-arg=--require=esbuild-register"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jsdom": "^16.2.13",
|
|
"@types/puppeteer": "^1.6.4",
|
|
"@types/sinon": "^10.0.6",
|
|
"@types/tap": "^15.0.5",
|
|
"esbuild": "^0.13.15",
|
|
"esbuild-register": "^3.1.2",
|
|
"jsdom": "^18.1.1",
|
|
"puppeteer": "^1.8.0",
|
|
"sinon": "^12.0.1",
|
|
"tap": "^15.1.2",
|
|
"typescript": "^4.5.2"
|
|
},
|
|
"tap": {
|
|
"reporter": "spec",
|
|
"branches": 95
|
|
}
|
|
}
|