Files
claude-playground/package.json
T
christianandClaude Opus 5.5 8b08c7b27a Block pushes and commits to main with git hooks
pre-push rejects any push that would update refs/heads/main, however the
command is spelled; pre-commit and pre-merge-commit refuse commits while
main is checked out. npm install enables them via core.hooksPath. The
README documents the three layers of protection for main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 00:39:56 +02:00

15 lines
384 B
JSON

{
"name": "claude-playground",
"version": "0.1.0",
"description": "A tiny todo CLI used as a sandbox for trying Claude Code features",
"type": "module",
"bin": { "todo": "./src/cli.js" },
"scripts": {
"start": "node src/cli.js",
"test": "node --test",
"prepare": "git config core.hooksPath .githooks"
},
"engines": { "node": ">=20" },
"license": "MIT"
}