Files
weixin-plugin-test/package.json
zyh 754f67d433 fix: 修复微信插件编译错误并添加缺失依赖
- 添加 zod 和 silk-wasm 依赖
- 修复 clearStaleAccountsForUserId 导入错误(函数不存在)
- 修复 TypeScript cause 属性类型问题
- 修复 channel.ts 中的模块导入问题
- 更新 weixinGateway.ts 添加 .js 扩展名支持 ES 模块
- 更新编译脚本使用 bundler 模式

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-30 07:41:05 +00:00

22 lines
605 B
JSON

{
"name": "weixin-plugin-test",
"version": "1.0.0",
"description": "Standalone test environment for Weixin plugin",
"type": "module",
"scripts": {
"build": "bash scripts/build-weixin-plugin.sh",
"test:simple": "node scripts/test-weixin-simple.js",
"test:full": "node scripts/test-weixin-plugin.js",
"clean": "rm -rf weixin-plugin/dist weixin-plugin/node_modules weixin-plugin/tsconfig.json"
},
"dependencies": {
"qrcode": "^1.5.4",
"silk-wasm": "^3.7.1",
"zod": "^4.3.6"
},
"devDependencies": {
"@types/qrcode": "^1.5.5",
"typescript": "^5.6.3"
}
}