diff --git a/README.md b/README.md index f8c9ef5..5e743f3 100644 --- a/README.md +++ b/README.md @@ -206,6 +206,9 @@ For local development and testing without publishing: # Install dependencies bun install +# Setup git hooks +bun run setup + # Build bun run build diff --git a/package.json b/package.json index aaaa643..065e5e6 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "test": "bun test", "coverage": "bun test --coverage", "prepublishOnly": "bun run build", - "release": "bash ./scripts/release.sh" + "release": "bash ./scripts/release.sh", + "setup": "bash ./scripts/setup.sh" }, "dependencies": { "chalk": "^5.3.0", diff --git a/scripts/setup.sh b/scripts/setup.sh new file mode 100755 index 0000000..d7a2357 --- /dev/null +++ b/scripts/setup.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# Setup script for development environment + +echo "Setting up git hooks..." +git config core.hooksPath .githooks + +echo "Setup complete!" \ No newline at end of file