diff --git a/.husky/pre-commit b/.husky/pre-commit index 2312dc58..36af2198 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + npx lint-staged diff --git a/package.json b/package.json index 886b6f57..8b6a02c8 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "deploy": "hedy -v --deploy --test", "deploy-routes": "hedy --no-build --no-hints -l major", "deploy-ci": "hedy -v --deploy --test --pkgVersion=ci$CI_BUILD_NUM -l ci --cleanup-ci 24h", - "prepare": "husky" + "prepare": "husky install" }, "wsk": { "target": "aws",