chore: Update husky

This commit is contained in:
Sidharth Vinod 2024-08-24 17:21:21 +05:30
parent 5ba5e30a47
commit db1b055c7f
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
2 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,2 @@
#!/bin/sh #!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"
NODE_OPTIONS="--max_old_space_size=8192" pnpm run pre-commit NODE_OPTIONS="--max_old_space_size=8192" pnpm run pre-commit

View File

@ -42,7 +42,7 @@
"test": "pnpm lint && vitest run", "test": "pnpm lint && vitest run",
"test:watch": "vitest --watch", "test:watch": "vitest --watch",
"test:coverage": "vitest --coverage", "test:coverage": "vitest --coverage",
"prepare": "husky install && pnpm build", "prepare": "husky && pnpm build",
"pre-commit": "lint-staged" "pre-commit": "lint-staged"
}, },
"repository": { "repository": {