forked from claude-did-this/claude-hub
- Remove Node.js 18.x from PR workflow test matrix - Update README.md to require Node.js 20+ instead of 16+ - Add engines field to package.json specifying Node.js >=20.0.0 - Fix linting issues (unused import and indentation) This addresses the compatibility issue with @octokit/rest v22.0.0 which dropped support for Node.js 18, simplifying our CI/CD pipeline and ensuring consistent Node.js version requirements. Resolves #68 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"name": "claude-github-webhook",
|
|
"version": "1.0.0",
|
|
"description": "A webhook endpoint for Claude to perform git and GitHub actions",
|
|
"main": "src/index.js",
|
|
"scripts": {
|
|
"start": "node src/index.js",
|
|
"dev": "nodemon src/index.js",
|
|
"test": "jest",
|
|
"test:unit": "jest --testMatch='**/test/unit/**/*.test.js'",
|
|
"test:coverage": "jest --coverage",
|
|
"test:watch": "jest --watch",
|
|
"test:ci": "jest --ci --coverage",
|
|
"pretest": "./scripts/utils/ensure-test-dirs.sh",
|
|
"lint": "eslint src/ test/ --fix",
|
|
"lint:check": "eslint src/ test/",
|
|
"format": "prettier --write src/ test/",
|
|
"format:check": "prettier --check src/ test/",
|
|
"security:audit": "npm audit --audit-level=moderate",
|
|
"security:fix": "npm audit fix",
|
|
"setup:dev": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"@octokit/rest": "^22.0.0",
|
|
"axios": "^1.6.2",
|
|
"body-parser": "^2.2.0",
|
|
"commander": "^14.0.0",
|
|
"dotenv": "^16.3.1",
|
|
"express": "^5.1.0",
|
|
"pino": "^9.7.0",
|
|
"pino-pretty": "^13.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.14",
|
|
"eslint": "^9.27.0",
|
|
"eslint-config-node": "^4.1.0",
|
|
"husky": "^9.1.7",
|
|
"jest": "^29.7.0",
|
|
"jest-junit": "^16.0.0",
|
|
"nodemon": "^3.0.1",
|
|
"prettier": "^3.0.0",
|
|
"supertest": "^7.1.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
}
|
|
}
|