diff --git a/install/package.json b/install/package.json index ce1c380f97a7..70a019c38c31 100644 --- a/install/package.json +++ b/install/package.json @@ -18,8 +18,8 @@ }, "husky": { "hooks": { - "pre-commit": "lint-staged", - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" + "pre-commit": "npx lint-staged", + "commit-msg": "npx commitlint -E HUSKY_GIT_PARAMS" } }, "lint-staged": {