Files
easemob-sdk-test/package.json
zyh b3a7461548 refactor: 改用配置文件替代数据库读取
- 新增 config.json 存储环信配置和测试账号
- 修改 test-easemob-msg.js 从配置文件读取配置
- 移除 sql.js 依赖,简化项目依赖
- 更新测试脚本注释说明

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-29 23:15:18 +00:00

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"
}