Files
claude-hub/package.json
ClaudeBot 8788a87ff6 fix(ci): resolve jest coverage command error
- Replace npx jest with npm run test:ci in CI coverage job
- Update test:ci script to match original command pattern
- Ensures jest is properly available through npm scripts

Fixes #91

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-27 18:37:29 +00:00

49 lines
1.5 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:e2e": "jest --testMatch='**/test/e2e/**/*.test.js'",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"test:ci": "jest --ci --coverage --testPathPattern='test/(unit|integration).*\\.test\\.js$'",
"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"
}
}