diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 0000000..8b73430 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1 @@ +npm exec -- lint-staged diff --git a/.husky/pre-push b/.husky/pre-push new file mode 100755 index 0000000..192cb67 --- /dev/null +++ b/.husky/pre-push @@ -0,0 +1 @@ +npm run build && npm test diff --git a/package.json b/package.json index a6b742d..cd85678 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "test": "vitest run", "test:watch": "vitest", "coverage": "vitest run --coverage", - "prepare": "husky install", + "prepare": "husky", "pack": "mcpb pack . dist/pcm-mcp.mcpb", "start": "node ./dist/index.js", "start:dev": "tsup --watch --onSuccess \"node ./dist/index.js\""