conformance/package.json
Paul Carleton 44a2732b53
Add lefthook for linting and testing hooks, and optional pre-commit hook via local (#7)
* unbreak package lock

* lint

* add lefthook for prepush test and lint hook

* attempt at exiting 0 if we made a change in lint

* fix lint

* add fail text

* pre-commit test

* adjust autofix

* add lefthook example

* fix comment
2025-11-04 14:50:17 +00:00

31 lines
905 B
JSON

{
"name": "conformance",
"version": "1.0.0",
"type": "module",
"scripts": {
"start": "tsx src/runner.ts",
"test": "jest",
"lint": "eslint src/ && prettier --check .",
"lint:fix": "eslint src/ --fix && prettier --write .",
"lint:fix_check": "npm run lint:fix && git diff --exit-code --quiet"
},
"devDependencies": {
"@eslint/js": "^9.8.0",
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.8",
"eslint": "^9.8.0",
"eslint-config-prettier": "^10.1.8",
"jest": "^29.7.0",
"prettier": "3.6.2",
"ts-jest": "^29.1.1",
"tsx": "^4.7.0",
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.0"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.20.1",
"express": "^5.1.0",
"lefthook": "^2.0.2",
"zod": "^3.25.76"
}
}