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.
48 lines
1.1 KiB
48 lines
1.1 KiB
{
|
|
"name": "@statianzo/pmrpc",
|
|
"main": "lib/index.js",
|
|
"module": "lib/index.esm.js",
|
|
"types": "lib/index.d.ts",
|
|
"version": "0.2.1",
|
|
"description": "JSON RPC over PostMessage",
|
|
"repository": "https://github.com/statianzo/pmrpc",
|
|
"author": "statianzo",
|
|
"license": "ISC",
|
|
"files": [
|
|
"LICENSE",
|
|
"lib/index.js",
|
|
"lib/index.esm.js",
|
|
"lib/index.d.js",
|
|
"lib/JsonRpc.d.ts"
|
|
],
|
|
"scripts": {
|
|
"prepublishOnly": "yarn bundle",
|
|
"bundle": "rollup -c",
|
|
"test": "jest --verbose",
|
|
"test:unit": "jest --testPathPattern \\.test\\.",
|
|
"test:spec": "jest --testPathPattern \\.spec\\."
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^23.3.1",
|
|
"@types/puppeteer": "^1.6.4",
|
|
"@types/rollup": "^0.54.0",
|
|
"jest": "^23.5.0",
|
|
"puppeteer": "^1.8.0",
|
|
"rollup": "^0.65.2",
|
|
"rollup-plugin-typescript2": "^0.17.0",
|
|
"ts-jest": "^23.1.4",
|
|
"typescript": "^3.0.3"
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
"^.+\\.(ts|js)$": "ts-jest"
|
|
},
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"js",
|
|
"json"
|
|
]
|
|
}
|
|
}
|