-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
93 lines (93 loc) · 2.41 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "react-native-postmessage-cat",
"version": "0.3.1",
"description": "Passing object and type between React Native main process and WebView process simply via proxy.",
"scripts": {
"build": "tsc",
"bundle:webview": "rollup -c && zx scripts/wrapBundleInString.mjs",
"test": "echo \"Error: no test specified\" && exit 1",
"prepublishOnly": "npm run clean && npm run build && npm run bundle:webview",
"clean": "rm -rf ./dist",
"prepare": "npm-install-peers",
"installType": "typesync"
},
"main": "dist/react-native.js",
"type": "module",
"exports": {
"./react-native": "./dist/react-native.js",
"./webview-string": "./dist/webview-string.js",
"./webview": "./dist/webview.js",
"./common": "./dist/common.js",
"./utils": "./dist/utils.js"
},
"typesVersions": {
"*": {
"react-native": [
"./dist/react-native.d.ts"
],
"webview": [
"./dist/webview.d.ts"
],
"webview-string": [
"./dist/webview-string.d.ts"
],
"utils": [
"./dist/utils.d.ts"
],
"common": [
"./dist/common.d.ts"
]
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/linonetwo/react-native-postmessage-cat.git"
},
"keywords": [
"react-native",
"react-native-webview",
"react-native-webview-bridge",
"post-message",
"proxy",
"invoke",
"bridge",
"WebView",
"postMessage"
],
"author": "lin onetwo",
"license": "MIT",
"bugs": {
"url": "https://github.com/linonetwo/react-native-postmessage-cat/issues"
},
"files": [
"dist"
],
"homepage": "https://github.com/linonetwo/react-native-postmessage-cat#readme",
"dependencies": {
"memize": "^2.1.0",
"react": "^18.2.0",
"serialize-error": "^11.0.2",
"type-fest": "^4.3.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@types/lodash": "^4.14.197",
"@types/react": "^18.2.21",
"dprint": "^0.40.2",
"eslint-config-tidgi": "^1.1.4",
"npm-install-peers": "^1.2.2",
"react-native": "0.72.4",
"rollup": "^3.28.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.35.0",
"rxjs": "^7.8.1",
"typescript": "^5.2.2",
"typesync": "^0.11.1",
"zx": "^7.2.3"
},
"peerDependencies": {
"react-native-webview": ">= 13.0.0",
"rxjs": ">= 7.5.0"
}
}