-
Notifications
You must be signed in to change notification settings - Fork 74
/
package.json
125 lines (125 loc) · 4.89 KB
/
package.json
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@atorber/chatflow",
"version": "3.2.3",
"description": "ChatFlow-聊天机器人管理平台",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/src/index.js",
"require": "./dist/cjs/src/index.js"
}
},
"typings": "./dist/esm/src/index.d.ts",
"engines": {
"node": ">=16",
"npm": ">=7"
},
"scripts": {
"ding": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./example/ding-dong-bot.ts",
"tg": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./src/plugins/lib/vikaModel/Qa/typeGenerator.ts",
"build": "tsc && tsc -p tsconfig.cjs.json",
"clean": "shx rm -fr dist/*",
"dist": "npm-run-all clean build dist:commonjs",
"dist:commonjs": "jq -n \"{ type: \\\"commonjs\\\" }\" > dist/cjs/package.json",
"init-db": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./example/init-db.ts",
"test-vika-orm": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./tests/vika-orm-test.ts",
"start": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./example/ding-dong-bot.ts",
"start:bridge": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./example/ding-dong-bot-puppet-bridge.ts",
"start:verbose": "cross-env WECHATY_LOG=verbose NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./example/ding-dong-bot.ts",
"start:gm": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./example/group-master-worker.ts",
"start:index": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./src/index.ts",
"start:notls": "cross-env WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_CLIENT=true WECHATY_PUPPET_SERVICE_AUTHORITY=\"token-service-discovery-test.juzibot.com\" NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./example/ding-dong-bot.ts",
"start:store": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./src/plugins/store-messages-locally.ts",
"test:lark-api": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./tests/lark.ts",
"test:auth": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./tests/auth.ts",
"test:lark-orm": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./tests/lark-orm-test.ts",
"test:vika-orm": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node ./tests/vika-orm-test.ts",
"rm-temp": "rm -r temp; mkdir temp",
"rm-cache": "rm -r cache; mkdir cache",
"test": "npm run lint",
"lint": "npm run lint:es && npm run lint:ts && npm run lint:md",
"lint:md": "markdownlint README.md",
"lint:ts": "tsc --isolatedModules --noEmit",
"lint:es": "eslint \"src/**/*.ts\" --ignore-pattern tests/fixtures/",
"lint:fix": "eslint --fix \"src/**/*.ts\" \"src/**/*.js\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/atorber/chatflow.git"
},
"keywords": [],
"author": "atorber <atorber@163.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/atorber/chatflow/issues"
},
"homepage": "https://github.com/atorber/chatflow#readme",
"dependencies": {
"@grpc/grpc-js": "^1.8.12",
"@larksuiteoapi/node-sdk": "^1.22.0",
"@types/boxen": "^3.0.1",
"@vikadata/vika": "^1.0.5",
"@yuque/sdk": "^1.1.1",
"api2d": "^0.1.40",
"axios": "^1.7.7",
"axios-retry": "^3.8.0",
"boxen": "^7.1.1",
"chatgpt": "^1.4.0",
"crypto-js": "^4.2.0",
"dotenv": "^16.0.0",
"exceljs": "^4.3.0",
"fast-csv": "^4.3.6",
"file-box": "^1.4.15",
"form-data": "^4.0.0",
"html-to-docx": "^1.8.0",
"langchain": "^0.0.111",
"language-monitor": "^1.0.3",
"minio": "^7.1.3",
"moment": "^2.30.1",
"mqtt": "^4.3.7",
"nedb": "^1.8.0",
"njwt": "^2.0.0",
"node-schedule": "^2.1.1",
"openai": "^4.12.4",
"qrcode-terminal": "^0.12.0",
"request": "^2.88.0",
"request-promise": "^4.2.6",
"uuid": "^9.0.0",
"wechaty": "^1.20.2",
"wechaty-puppet-bridge": "^0.15.2",
"wechaty-puppet-padlocal": "^1.20.1",
"wechaty-puppet-wechat4u": "^1.14.12",
"winston": "^3.15.0",
"wxcrypt": "^1.4.3",
"xlsx": "^0.18.5",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@chatie/eslint-config": "^1.0.4",
"@chatie/git-scripts": "^0.6.2",
"@chatie/tsconfig": "^4.6.3",
"@types/crypto-js": "^4.1.3",
"@types/jest": "^29.2.3",
"@types/mustache": "^4.2.2",
"@types/nedb": "^1.8.13",
"@types/node": "^18.11.9",
"@types/node-schedule": "^2.1.0",
"@types/qrcode-terminal": "^0.12.0",
"@types/request-promise": "^4.1.48",
"@types/uuid": "^9.0.6",
"@types/xml2js": "^0.4.12",
"check-node-version": "^4.2.1",
"cross-env": "^7.0.3",
"is-pr": "^2.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.3"
},
"files": [
"bin/",
"dist/",
"src/"
],
"publishConfig": {
"tag": "next"
}
}