- 新增 config.json 存储环信配置和测试账号 - 修改 test-easemob-msg.js 从配置文件读取配置 - 移除 sql.js 依赖,简化项目依赖 - 更新测试脚本注释说明 Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
23 lines
542 B
JSON
23 lines
542 B
JSON
{
|
|
"name": "easemob-sdk-test",
|
|
"version": "1.0.0",
|
|
"description": "环信 SDK 测试项目",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test:msg": "node scripts/test-easemob-msg.js",
|
|
"test:polyfill": "node scripts/test-easemob-polyfill.js xhr2 \"1101260329209923#demo\" \"originclaw_bot\" \"OriginClaw2026!\""
|
|
},
|
|
"dependencies": {
|
|
"easemob-websdk": "^4.19.1",
|
|
"ws": "^8.18.0",
|
|
"xhr2": "^0.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"happy-dom": "^20.8.9"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"license": "MIT"
|
|
}
|