broadcast-message
Version:
基于postMessage+BroadcastChannel+localStorage+互信域名的前端页面数据通信解决方案
73 lines (72 loc) • 2.02 kB
JSON
{
"name": "broadcast-message",
"version": "0.0.3",
"description": "基于postMessage+BroadcastChannel+localStorage+互信域名的前端页面数据通信解决方案",
"keywords": [
"BroadcastMessage",
"Broadcast",
"postMessage",
"BroadcastChannel",
"localStorage",
"crosstab",
"cross-domain",
"ipc",
"domain",
"trust"
],
"type": "module",
"files": [
"dist",
"src",
"logo.png"
],
"author": "Blaze",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"homepage": "https://broadcast-message.anzz.top",
"repository": {
"type": "git",
"url": "https://github.com/xxxily/broadcast-message"
},
"bugs": {
"url": "https://github.com/xxxily/broadcast-message/issues"
},
"main": "dist/BroadcastMessage.umd.cjs",
"module": "dist/BroadcastMessage.js",
"typings": "dist/types/index.d.ts",
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "vite build && vite build --mode lib && tsc",
"build-lib": "vite build --mode lib-only && tsc",
"build-types": "tsc --emitDeclarationOnly --outDir dist/types",
"preview": "vite preview",
"test": "vitest",
"coverage": "vitest run --coverage",
"vuepress-docs:dev": "vuepress dev docs",
"vuepress-docs:build": "vuepress build docs",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"endTest": "playwright test broadcast-message.spec.js --reporter=html"
},
"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@playwright/test": "^1.28.1",
"@rollup/plugin-babel": "^6.0.2",
"@vitejs/plugin-legacy": "^2.3.1",
"typescript": "^4.9.3",
"vite": "^3.2.3",
"vite-plugin-babel": "^1.1.2",
"vitepress": "^1.0.0-alpha.30",
"vitest": "^0.25.2",
"vue": "^3.2.45"
},
"dependencies": {
"core-js": "^3.26.1",
"terser": "^5.16.0"
}
}