diff --git a/.husky/pre-commit b/.husky/pre-commit index c37466e..36af219 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npx lint-staged \ No newline at end of file +npx lint-staged diff --git a/package.json b/package.json index 74eee89..16c940e 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "main": "dist/index.js", "scripts": { "start": "tsc -w", - "build": "rm -rf dist && tsc" + "build": "rm -rf dist && tsc", + "prepare": "husky install" }, "repository": { "type": "git",