From 3fdcb11536ef0356f3f84594fbee835531bcd05b Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Sun, 31 Oct 2021 14:33:36 +0100 Subject: [PATCH] Add prepare script that installs husky (#6805) --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 2aba4825..65a8ac4c 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "jsonlint": "node scripts/lint/jsonlint.js", "svglint": "svglint icons/*.svg --ci", "wslint": "editorconfig-checker -exclude \\.svg$", + "prepare": "is-ci || husky install", "prepublishOnly": "npm run build", "postpublish": "npm run clean", "test": "jest",