diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af21989..2312dc587 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged diff --git a/package.json b/package.json index 5de9d8272..a00a6e19f 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "lint:js": "eslint .", "lint:format": "prettier -c --ignore-unknown .", "postinstall": "npm run build", - "prepare": "husky install", + "prepare": "husky || true", "start-server": "http-server -p 9090 ./docs", "start-watch": "chokidar \"./live-examples/**\" -c \"npm run build:pages\" --initial --silent", "start": "npm-run-all --parallel start-watch start-server",