|
|
@ -3,7 +3,7 @@
|
|
|
|
"main": "lib/index.js",
|
|
|
|
"main": "lib/index.js",
|
|
|
|
"module": "lib/index.esm.js",
|
|
|
|
"module": "lib/index.esm.js",
|
|
|
|
"types": "lib/index.d.ts",
|
|
|
|
"types": "lib/index.d.ts",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"version": "0.1.1",
|
|
|
|
"description": "JSON RPC over PostMessage",
|
|
|
|
"description": "JSON RPC over PostMessage",
|
|
|
|
"repository": "https://github.com/statianzo/pmrpc",
|
|
|
|
"repository": "https://github.com/statianzo/pmrpc",
|
|
|
|
"author": "statianzo",
|
|
|
|
"author": "statianzo",
|
|
|
@ -16,13 +16,16 @@
|
|
|
|
"lib/JsonRpc.d.ts"
|
|
|
|
"lib/JsonRpc.d.ts"
|
|
|
|
],
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"scripts": {
|
|
|
|
"prepublish": "yarn build",
|
|
|
|
"prepublishOnly": "yarn bundle",
|
|
|
|
"build": "rollup -c",
|
|
|
|
"bundle": "rollup -c",
|
|
|
|
"test": "jest"
|
|
|
|
"test": "jest"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/jest": "^23.3.1",
|
|
|
|
"@types/jest": "^23.3.1",
|
|
|
|
|
|
|
|
"@types/puppeteer": "^1.6.4",
|
|
|
|
|
|
|
|
"@types/rollup": "^0.54.0",
|
|
|
|
"jest": "^23.5.0",
|
|
|
|
"jest": "^23.5.0",
|
|
|
|
|
|
|
|
"puppeteer": "^1.8.0",
|
|
|
|
"rollup": "^0.65.2",
|
|
|
|
"rollup": "^0.65.2",
|
|
|
|
"rollup-plugin-typescript2": "^0.17.0",
|
|
|
|
"rollup-plugin-typescript2": "^0.17.0",
|
|
|
|
"ts-jest": "^23.1.4",
|
|
|
|
"ts-jest": "^23.1.4",
|
|
|
@ -30,16 +33,13 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"jest": {
|
|
|
|
"transform": {
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
|
|
"^.+\\.(ts|js)$": "ts-jest"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
|
|
|
|
"js",
|
|
|
|
"js",
|
|
|
|
"jsx",
|
|
|
|
"json"
|
|
|
|
"json",
|
|
|
|
|
|
|
|
"node"
|
|
|
|
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|