onebots 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +59 -0
- package/lib/bin.d.ts +2 -0
- package/lib/bin.js +5 -0
- package/lib/config.sample.yaml +31 -0
- package/lib/db.d.ts +19 -0
- package/lib/db.js +91 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +21 -0
- package/lib/onebot.d.ts +43 -0
- package/lib/onebot.js +85 -0
- package/lib/server/app.d.ts +52 -0
- package/lib/server/app.js +232 -0
- package/lib/server/router.d.ts +9 -0
- package/lib/server/router.js +32 -0
- package/lib/service/V11/action/common.d.ts +64 -0
- package/lib/service/V11/action/common.js +115 -0
- package/lib/service/V11/action/friend.d.ts +38 -0
- package/lib/service/V11/action/friend.js +44 -0
- package/lib/service/V11/action/group.d.ts +104 -0
- package/lib/service/V11/action/group.js +138 -0
- package/lib/service/V11/action/index.d.ts +9 -0
- package/lib/service/V11/action/index.js +10 -0
- package/lib/service/V11/config.d.ts +10 -0
- package/lib/service/V11/config.js +2 -0
- package/lib/service/V11/index.d.ts +95 -0
- package/lib/service/V11/index.js +481 -0
- package/lib/service/V12/action/common.d.ts +32 -0
- package/lib/service/V12/action/common.js +105 -0
- package/lib/service/V12/action/friend.d.ts +13 -0
- package/lib/service/V12/action/friend.js +15 -0
- package/lib/service/V12/action/group.d.ts +104 -0
- package/lib/service/V12/action/group.js +138 -0
- package/lib/service/V12/action/guild.d.ts +2 -0
- package/lib/service/V12/action/guild.js +6 -0
- package/lib/service/V12/action/index.d.ts +10 -0
- package/lib/service/V12/action/index.js +11 -0
- package/lib/service/V12/config.d.ts +17 -0
- package/lib/service/V12/config.js +2 -0
- package/lib/service/V12/index.d.ts +102 -0
- package/lib/service/V12/index.js +530 -0
- package/lib/types.d.ts +3 -0
- package/lib/types.js +2 -0
- package/lib/utils.d.ts +13 -0
- package/lib/utils.js +139 -0
- package/package.json +58 -0
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "onebots",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "基于icqq的多例oneBot实现",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"onebots": "./lib/bin.js"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"start": "node .",
|
|
11
|
+
"build": "tsc --project tsconfig.json && tsc-alias -p tsconfig.json",
|
|
12
|
+
"dev": "ts-node-dev -r tsconfig-paths/register ./src/test.ts",
|
|
13
|
+
"pub": "npm publish --access public",
|
|
14
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/liucl-cn/icqq-onebot.git"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"onebot",
|
|
22
|
+
"icqq",
|
|
23
|
+
"cq-http"
|
|
24
|
+
],
|
|
25
|
+
"author": "凉菜",
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/liucl-cn/icqq-onebot/issues"
|
|
29
|
+
},
|
|
30
|
+
"homepage": "https://github.com/liucl-cn/icqq-onebot#readme",
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@types/koa": "^2.13.4",
|
|
33
|
+
"@types/koa__router": "^8.0.11",
|
|
34
|
+
"@types/koa-bodyparser": "^4.3.7",
|
|
35
|
+
"@types/node": "latest",
|
|
36
|
+
"@types/ws": "^8.5.3",
|
|
37
|
+
"ts-node-dev": "latest",
|
|
38
|
+
"tsc-alias": "latest",
|
|
39
|
+
"tsconfig-paths": "latest",
|
|
40
|
+
"typescript": "latest"
|
|
41
|
+
},
|
|
42
|
+
"files": [
|
|
43
|
+
"/lib/**/*.js",
|
|
44
|
+
"/lib/**/*.d.ts",
|
|
45
|
+
"/lib/*.yaml",
|
|
46
|
+
"/**/LICENSE"
|
|
47
|
+
],
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@koa/router": "^10.1.1",
|
|
50
|
+
"icqq": "^0.0.1",
|
|
51
|
+
"icqq-cq-enable": "^1.0.0",
|
|
52
|
+
"js-yaml": "^4.1.0",
|
|
53
|
+
"koa": "^2.13.4",
|
|
54
|
+
"koa-bodyparser": "^4.3.0",
|
|
55
|
+
"log4js": "^6.5.2",
|
|
56
|
+
"ws": "^8.8.0"
|
|
57
|
+
}
|
|
58
|
+
}
|