76 lines
1.9 KiB
JSON
76 lines
1.9 KiB
JSON
{
|
|
"name": "wechat-bot",
|
|
"version": "1.0.2",
|
|
"description": "wechat-bot",
|
|
"main": "index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "node ./cli.js",
|
|
"format": "prettier --write ./src",
|
|
"start": "node ./cli.js",
|
|
"test": "node ./src/wechaty/testMessage.js",
|
|
"test:analysis": "node ./src/analysis/__test__.js",
|
|
"lark:login": "node ./cli.js lark login",
|
|
"wechat:analyze": "node ./cli.js analyze --stats-only",
|
|
"agent": "node ./cli.js agent --im wechat --agent pi",
|
|
"opencli": "node ./cli.js opencli",
|
|
"wx": "node ./cli.js wx",
|
|
"pi": "node ./cli.js pi",
|
|
"test-openai": "node ./src/openai/__test__.js",
|
|
"test-xunfei": "node ./src/xunfei/__test__.js",
|
|
"test-kimi": "node ./src/kimi/__test__.js",
|
|
"test-dify": "node ./src/dify/__test__.js",
|
|
"prepare": "npx husky"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,md}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"files": [
|
|
"src",
|
|
"./.env.example",
|
|
"./cli.js",
|
|
"./Dockerfile",
|
|
"./Dockerfile.alpine",
|
|
"./LICENSE.md",
|
|
"./README.md",
|
|
"./RECORD.md"
|
|
],
|
|
"bin": {
|
|
"wb": "./cli.js",
|
|
"wechat-bot": "./cli.js"
|
|
},
|
|
"homepage": "https://github.com/wangrongding/wechat-bot/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/wangrongding/wechat-bot.git"
|
|
},
|
|
"author": "荣顶",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"axios": "^1.6.8",
|
|
"chatgpt": "^2.5.2",
|
|
"commander": "^12.0.0",
|
|
"crypto-js": "^4.2.0",
|
|
"dotenv": "^16.4.5",
|
|
"inquirer": "^9.2.16",
|
|
"openai": "^4.52.0",
|
|
"p-timeout": "^6.0.0",
|
|
"qrcode-terminal": "^0.12.0",
|
|
"remark": "^14.0.2",
|
|
"strip-markdown": "^5.0.0",
|
|
"wechaty": "^1.20.2",
|
|
"wechaty-puppet-wechat": "^1.18.4",
|
|
"wechaty-puppet-wechat4u": "^1.14.14",
|
|
"ws": "^8.16.0"
|
|
},
|
|
"devDependencies": {
|
|
"husky": "^9.0.11",
|
|
"lint-staged": "^15.2.7",
|
|
"prettier": "^3.3.3",
|
|
"puppeteer": "13.5.1",
|
|
"puppeteer-core": "13.5.1"
|
|
}
|
|
}
|