UNPKG

structured-channel

Version:

A wrapper around MessageChannel API for bi-directional communication between two browsing contexts.

63 lines (62 loc) 1.81 kB
{ "name": "structured-channel", "version": "2.4.0", "description": "A wrapper around MessageChannel API for bi-directional communication between two browsing contexts.", "keywords": [ "MessageChannel", "worker", "iframe", "communication", "channel" ], "repository": "https://github.com/slavik-chapelskyi/structured-channel.git", "license": "MIT", "author": { "name": "Yaroslav Chapelskyi", "email": "slavko@shelf.io" }, "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib" ], "scripts": { "build": "rm -rf lib && yarn build:types && webpack", "build:types": "tsc -p tsconfig.types.json", "lint": "eslint src package.json --fix --ext .js,.jsx,.ts,.tsx,.json", "test": "karma start --single-run=true karma.conf.js", "watch-build": "webpack -wd", "watch-test": "karma start karma.conf.js" }, "prettier": "@shelf/prettier-config", "eslintConfig": { "extends": [ "@shelf/eslint-config/frontend-typescript" ] }, "devDependencies": { "@babel/core": "7.12.9", "@babel/plugin-proposal-class-properties": "7.12.1", "@babel/plugin-transform-arrow-functions": "7.12.1", "@babel/plugin-transform-runtime": "7.12.1", "@babel/preset-env": "7.12.7", "@babel/preset-typescript": "7.12.7", "@shelf/eslint-config": "0.24.0", "@shelf/prettier-config": "0.0.7", "babel-loader": "8.2.2", "chai": "^3.2.0", "eslint": "7.14.0", "jest": "26.6.3", "karma": "^0.13.9", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^0.2.0", "karma-firefox-launcher": "^0.1.6", "karma-mocha": "^0.2.0", "mocha": "^2.2.5", "path": "0.12.7", "prettier": "2.2.1", "typescript": "4.1.2", "webpack": "5.10.0", "webpack-cli": "^4.2.0" } }