Split monolithic chat service into modular structure with Matrix client support, extract web server into per-resource route modules, introduce bootstrap/main-loop separation, and add comprehensive vitest coverage across services, repositories, and utilities. Adds project docs and CLAUDE.md agent instructions.
45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"name": "reddit-bot",
|
|
"version": "1.0.0",
|
|
"description": "Reddit bot for monitoring subreddits and sending AI-generated messages",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "tsx src/index.ts",
|
|
"login": "tsx scripts/login.ts",
|
|
"dev": "tsx watch src/index.ts",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage"
|
|
},
|
|
"keywords": [
|
|
"reddit",
|
|
"bot",
|
|
"ai"
|
|
],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"axios": "^1.13.2",
|
|
"better-sqlite3": "^12.5.0",
|
|
"dotenv": "^17.2.3",
|
|
"express": "^5.2.1",
|
|
"openai": "^6.15.0",
|
|
"p-queue": "^9.0.1",
|
|
"p-retry": "^7.1.1",
|
|
"playwright": "^1.57.0",
|
|
"winston": "^3.19.0",
|
|
"yaml": "^2.8.2",
|
|
"zod": "^4.3.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/express": "^5.0.6",
|
|
"@types/node": "^25.0.3",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^4.1.7"
|
|
}
|
|
}
|