rx-postmessenger
Version:
Minimal RxJS adapter for the window.postMessage API for request-response streams and notification streams across frame windows.
66 lines (65 loc) • 2 kB
JSON
{
"name": "rx-postmessenger",
"version": "3.0.0",
"author": "Jeffrey Westerkamp",
"repository": "git+https://github.com/JJWesterkamp/rx-postmessenger.git",
"description": "Minimal RxJS adapter for the window.postMessage API for request-response streams and notification streams across frame windows.",
"keywords": [
"RxJS",
"Browser",
"iframe",
"postMessage",
"event",
"request",
"response",
"mapped",
"typescript"
],
"license": "MIT",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"types": "./rx-postmessenger.d.ts",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm/index.js",
"default": "./esm/index.js"
}
},
"unpkg": "umd/rx-postmessenger.min.js",
"jsdelivr": "umd/rx-postmessenger.min.js",
"scripts": {
"clean:dist": "rm -rf esm cjs umd",
"clean:coverage": "rm -rf coverage",
"dev": "run-p \"build:** -- --watch\"",
"build": "npm run clean:dist && run-p build:**",
"build:cjs": "tsc --outDir cjs --sourceMap false -m CommonJS",
"build:esm": "tsc --outDir esm --sourceMap false -m es2015",
"build:umd": "webpack",
"docs": "typedoc rx-postmessenger.d.ts",
"bump": "npx yarn version --new-version",
"preversion": "npm run docs && git reset && git add ./CHANGELOG.md ./README.md ./docs/*",
"prepublishOnly": "git checkout master && npm run test && npm run build",
"test": "jest",
"coveralls": "cat ./coverage/lcov.info | coveralls"
},
"peerDependencies": {
"rxjs": "6.x || 7.x"
},
"devDependencies": {
"@jjwesterkamp/typedoc-theme": "^1.2.0",
"@types/jest": "^27.0.1",
"@types/jsdom": "^16.2.13",
"@types/webpack-env": "^1.16.2",
"coveralls": "^3.1.1",
"jest": "^27.0.6",
"jsdom": "^17.0.0",
"npm-run-all": "^4.1.5",
"ts-jest": "^27.0.5",
"ts-loader": "^9.2.5",
"typedoc": "^0.21.5",
"typescript": "^4.3.5",
"webpack": "^5.50.0",
"webpack-cli": "^4.8.0"
}
}