Files
qqbot/package.json
rianli 8c8d30393f fix/upgrade-script-config-cleanup (merge request !27)
Squash merge branch 'fix/upgrade-script-config-cleanup' into 'main'
1. 升级脚本与热更指令稳定性优化 2.升级脚本性能优化 3.提醒功能多账户 Bug 修复
2026-03-30 12:28:03 +00:00

71 lines
1.8 KiB
JSON

{
"name": "@tencent-connect/openclaw-qqbot",
"version": "1.6.7",
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"openclaw-qqbot": "./bin/qqbot-cli.js",
"qqbot": "./bin/qqbot-cli.js"
},
"files": [
"dist",
"bin",
"src",
"skills",
"scripts",
"index.ts",
"preload.cjs",
"tsconfig.json",
"openclaw.plugin.json"
],
"openclaw": {
"id": "openclaw-qqbot",
"extensions": [
"./preload.cjs"
],
"channel": {
"id": "qqbot",
"label": "QQ Bot"
}
},
"scripts": {
"build": "tsc || true",
"postbuild": "node -e \"const fs=require('fs'),p=require('path'),ext=p.join(require('os').homedir(),'.openclaw/extensions/openclaw-qqbot');if(fs.existsSync(ext)&&!fs.lstatSync(ext).isSymbolicLink()){const d=p.join(ext,'dist'),pr=p.join(ext,'preload.cjs');fs.cpSync('dist',d,{recursive:true});fs.copyFileSync('preload.cjs',pr);console.log('[postbuild] synced to',ext)}\"",
"dev": "tsc --watch",
"prepack": "npm install --omit=dev",
"postinstall": "node scripts/postinstall-link-sdk.js 2>/dev/null || true"
},
"dependencies": {
"mpg123-decoder": "^1.0.3",
"silk-wasm": "^3.7.1",
"ws": "^8.18.0"
},
"bundledDependencies": [
"mpg123-decoder",
"silk-wasm",
"ws"
],
"devDependencies": {
"@types/node": "^20.0.0",
"@types/ws": "^8.5.0",
"typescript": "^5.9.3"
},
"peerDependencies": {
"openclaw": "*"
},
"homepage": "https://github.com/tencent-connect/openclaw-qqbot",
"repository": {
"type": "git",
"url": "git+https://github.com/tencent-connect/openclaw-qqbot.git"
},
"bundleDependencies": [
"mpg123-decoder",
"silk-wasm",
"ws"
]
}