diff --git a/.husky/pre-commit b/.husky/pre-commit index dc0378c34..1a1f1f060 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - yarn lint-staged \ No newline at end of file diff --git a/package.json b/package.json index 3f03a2360..071146450 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,8 @@ "webpack-dev": "webpack --mode development --watch", "webpack": "webpack --mode development", "postinstall": "husky install", - "chrome": "yarn webpack && vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ." + "chrome": "yarn webpack && vscode-test-web --browserType=chromium --extensionDevelopmentPath=. .", + "prepare": "husky" }, "lint-staged": { "**/*.{ts,json,md,yml,hbs,js}": [