forked from tencent-connect/openclaw-qqbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.75 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "@tencent-connect/openclaw-qqbot",
"version": "1.7.1",
"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"
]
}