iframe-connect
Version:
A lightweight, type-safe cross-frame communication library with plugin system and multi-window isolation
76 lines (75 loc) • 2.12 kB
JSON
{
"name": "iframe-connect",
"version": "1.1.2",
"description": "A lightweight, type-safe cross-frame communication library with plugin system and multi-window isolation",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./plugins": {
"types": "./dist/plugins.d.ts",
"import": "./dist/plugins.mjs",
"require": "./dist/plugins.js"
}
},
"files": [
"dist",
"README.md",
"README.en.md",
"LICENSE"
],
"scripts": {
"build": "tsup",
"build:watch": "tsup --watch",
"dev": "tsup --watch",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix",
"test": "jest",
"test:watch": "jest --watch",
"typecheck": "tsc --noEmit",
"release": "npm version patch && git push --follow-tags",
"release:minor": "npm version minor && git push --follow-tags",
"release:major": "npm version major && git push --follow-tags",
"release:patch": "npm version patch && git push --follow-tags",
"test-publish": "npm publish --dry-run"
},
"devDependencies": {
"@types/jest": "^29.0.0",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.0",
"ts-jest": "^29.0.0",
"tsup": "^8.0.0",
"typescript": "^5.0.0"
},
"keywords": [
"iframe",
"communication",
"cross-frame",
"postMessage",
"typescript",
"lightweight",
"plugin-system",
"multi-window"
],
"author": "jx.zhu@foxmail.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/fchc7/iframe-connect.git"
},
"bugs": {
"url": "https://github.com/fchc7/iframe-connect/issues"
},
"homepage": "https://github.com/fchc7/iframe-connect#readme"
}