Files
ghbot/package.json
T
wdawdwaandClaude Opus 4.8 db53296d78 refactor: extract event router and bump version to v1.2.0 (7.1)
Decouple Actions event dispatching from runReview.ts into a pluggable
EventRouter with independent handlers for pull_request_target, issues,
issue_comment, pull_request_review, and schedule. Add unit tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-23 17:05:41 +08:00

40 lines
1.1 KiB
JSON

{
"name": "ghbot",
"version": "1.2.0",
"private": true,
"type": "module",
"engines": {
"node": ">=22 <26"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "node --import tsx --test test/**/*.test.ts",
"typecheck": "tsc -p tsconfig.json --noEmit",
"webhook": "node dist/src/webhook/server.js",
"dev:webhook": "tsx src/webhook/server.ts",
"lint": "eslint src test",
"lint:fix": "eslint src test --fix",
"format": "prettier --write .",
"format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
"ci:test": "node --import tsx --experimental-test-coverage --test test/**/*.test.ts"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.864.0",
"@octokit/auth-app": "^8.2.0",
"@octokit/rest": "^21.0.2",
"dotenv": "^16.4.7",
"pino": "^9.5.0",
"zod": "^3.24.1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^22.10.2",
"eslint": "^10.9.0",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.9.6",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.67.0"
}
}