call-engine-wx 0.1.0
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/README.md +127 -0
- package/dist/index.cjs.js +2380 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +342 -0
- package/dist/index.esm.mjs +2372 -0
- package/dist/index.esm.mjs.map +1 -0
- package/dist/index.mp.js +2 -0
- package/dist/index.umd.js +5924 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/index.umd.min.js +3 -0
- package/dist/index.umd.min.js.map +1 -0
- package/package.json +77 -0
package/package.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "call-engine-wx",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Pure-JS TUICallEngine implementation for WeChat Mini Program (no WASM). API-compatible with @trtc/call-engine-lite-wx.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Tencent",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"tuicallengine",
|
|
9
|
+
"trtc",
|
|
10
|
+
"call",
|
|
11
|
+
"rtc",
|
|
12
|
+
"wechat",
|
|
13
|
+
"miniprogram",
|
|
14
|
+
"voip",
|
|
15
|
+
"signaling"
|
|
16
|
+
],
|
|
17
|
+
"main": "dist/index.cjs.js",
|
|
18
|
+
"module": "dist/index.esm.mjs",
|
|
19
|
+
"browser": "dist/index.umd.js",
|
|
20
|
+
"miniprogram": "dist/index.mp.js",
|
|
21
|
+
"wechat:miniprogram": "dist/index.mp.js",
|
|
22
|
+
"types": "dist/index.d.ts",
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"README.md",
|
|
26
|
+
"LICENSE"
|
|
27
|
+
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "rollup -c rollup.config.mjs && node ./scripts/copy-types.js",
|
|
30
|
+
"build:types": "node ./scripts/copy-types.js",
|
|
31
|
+
"prepublishOnly": "npm run build",
|
|
32
|
+
"pack:tgz": "npm run build && npm pack",
|
|
33
|
+
"clean": "rimraf dist *.tgz",
|
|
34
|
+
"lint": "echo \"(no linter configured)\"",
|
|
35
|
+
"test": "echo \"(tests not implemented)\""
|
|
36
|
+
},
|
|
37
|
+
"exports": {
|
|
38
|
+
".": {
|
|
39
|
+
"types": "./dist/index.d.ts",
|
|
40
|
+
"miniprogram": "./dist/index.mp.js",
|
|
41
|
+
"wx": "./dist/index.mp.js",
|
|
42
|
+
"import": "./dist/index.esm.mjs",
|
|
43
|
+
"require": "./dist/index.cjs.js",
|
|
44
|
+
"browser": "./dist/index.umd.js",
|
|
45
|
+
"default": "./dist/index.cjs.js"
|
|
46
|
+
},
|
|
47
|
+
"./miniprogram": "./dist/index.mp.js",
|
|
48
|
+
"./package.json": "./package.json"
|
|
49
|
+
},
|
|
50
|
+
"engines": {
|
|
51
|
+
"node": ">=14"
|
|
52
|
+
},
|
|
53
|
+
"sideEffects": false,
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@tencentcloud/lite-chat": ">=1.6.0",
|
|
56
|
+
"@tencentcloud/trtc-component-wx": ">=1.0.6",
|
|
57
|
+
"@tencentcloud/trtc-component-uniapp": ">=1.0.6"
|
|
58
|
+
},
|
|
59
|
+
"peerDependenciesMeta": {
|
|
60
|
+
"@tencentcloud/lite-chat": {
|
|
61
|
+
"optional": true
|
|
62
|
+
},
|
|
63
|
+
"@tencentcloud/trtc-component-uniapp": {
|
|
64
|
+
"optional": true
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
69
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
70
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
71
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
72
|
+
"rimraf": "^5.0.5",
|
|
73
|
+
"rollup": "^4.18.0",
|
|
74
|
+
"tslib": "^2.6.3",
|
|
75
|
+
"typescript": "^5.4.5"
|
|
76
|
+
}
|
|
77
|
+
}
|