iframe-bridge-kit 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "iframe-bridge-kit",
3
+ "version": "1.0.1",
4
+ "description": "A type-safe communication bridge for iframes. Define strongly typed RPC APIs for cross-window messaging with ease.",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "scripts": {
9
+ "build": "tsup && tsup --config core.tsup.config.ts && tsup --config core.full.tsup.config.ts",
10
+ "dev": "tsup --watch"
11
+ },
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.mjs",
16
+ "require": "./dist/index.js"
17
+ },
18
+ "./vite": {
19
+ "types": "./dist/vite.d.ts",
20
+ "import": "./dist/vite.mjs",
21
+ "require": "./dist/vite.js"
22
+ }
23
+ },
24
+ "files": [
25
+ "dist",
26
+ "README.md"
27
+ ],
28
+ "keywords": [
29
+ "iframe",
30
+ "postMessage",
31
+ "rpc",
32
+ "bridge",
33
+ "typescript",
34
+ "type-safe",
35
+ "cross-origin",
36
+ "penpal",
37
+ "window-messaging",
38
+ "api-definition"
39
+ ],
40
+ "author": "ZhangSan <2306860505@qq.com>",
41
+ "license": "MIT",
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "git+https://github.com/mchao123/iframe-bridge-kit.git"
45
+ },
46
+ "homepage": "https://github.com/mchao123/iframe-bridge-kit#readme",
47
+ "bugs": {
48
+ "url": "https://github.com/mchao123/iframe-bridge-kit/issues"
49
+ },
50
+ "devDependencies": {
51
+ "@types/node": "^24.10.1",
52
+ "tsup": "^8.5.1",
53
+ "vite": "^7.2.6",
54
+ "typescript": "^5.9.3"
55
+ },
56
+ "peerDependencies": {
57
+ "penpal": "^7.0.4"
58
+ }
59
+ }