UNPKG

iframe-channel

Version:

A channel used to communicate between iframe and parent. Support post function.

101 lines (100 loc) 2.76 kB
{ "name": "iframe-channel", "version": "1.2.10", "description": "", "main": "lib/index.js", "scripts": { "start": "better-npm-run start", "test": "concurrently \"better-npm-run start\" \"better-npm-run test\"", "compile": "better-npm-run compile" }, "betterScripts": { "start": { "command": "webpack-dev-server --config webpack.dev.config.js", "env": { "NODE_ENV": "development" } }, "test": { "command": "karma start", "env": { "NODE_ENV": "development" } }, "compile": { "command": "webpack --config webpack.prod.config.js", "env": { "NODE_ENV": "production" } } }, "repository": { "type": "git", "url": "git+https://github.com/hcl1687/iframe-channel.git" }, "keywords": [ "iframe", "postMessage", "channel", "tunnel", "MessageChannel", "promise", "js" ], "author": "hcl1687", "license": "MIT", "bugs": { "url": "https://github.com/hcl1687/iframe-channel/issues" }, "homepage": "https://github.com/hcl1687/iframe-channel#readme", "devDependencies": { "@babel/core": "^7.5.5", "@babel/plugin-proposal-class-properties": "^7.5.5", "@babel/preset-env": "^7.5.5", "babel-eslint": "^10.0.2", "babel-loader": "^8.0.6", "babel-plugin-add-module-exports": "^1.0.2", "babel-plugin-istanbul": "^5.2.0", "babel-plugin-transform-runtime": "^6.23.0", "better-npm-run": "^0.1.1", "chai": "^4.2.0", "concurrently": "^4.1.2", "eslint": "^6.1.0", "eslint-config-standard": "^13.0.1", "eslint-config-standard-react": "^8.0.0", "eslint-friendly-formatter": "^4.0.1", "eslint-loader": "^2.2.1", "eslint-plugin-babel": "^5.3.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-jsx-control-statements": "^2.2.1", "eslint-plugin-node": "^9.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.0", "html-webpack-plugin": "^3.2.0", "karma": "^4.2.0", "karma-chrome-launcher": "^3.0.0", "karma-coverage": "^1.1.2", "karma-es5-shim": "0.0.4", "karma-es6-shim": "^1.0.0", "karma-ie-launcher": "^1.0.0", "karma-mocha": "^1.3.0", "karma-mocha-reporter": "^2.2.5", "karma-phantomjs-launcher": "^1.0.4", "karma-sourcemap-loader": "^0.3.7", "karma-webpack": "^4.0.2", "mocha": "^6.2.0", "phantomjs-polyfill": "0.0.2", "sinon": "^7.3.2", "sinon-chai": "^3.3.0", "uglifyjs-webpack-plugin": "^2.1.3", "url-parse": "^1.4.7", "webpack": "^4.37.0", "webpack-cli": "^3.3.6", "webpack-dev-server": "^3.7.2", "webpack-merge": "^4.2.1" }, "dependencies": { "lodash": "^4.17.15", "uuid": "^3.3.2" } }