From f55fb49abc883a2e4e602f2f84255260f7453d85 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sat, 2 Sep 2023 08:51:36 -0400 Subject: [PATCH] Fix husky for yarn 2 . - Context: https://typicode.github.io/husky/getting-started.html#yarn-2 --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 6f05ca20..addee2a7 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "dev": "yarn build:dev --watch", "lint": "yarn translations:generate && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx \"src/**\" && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"", "prepare": "husky install", + "postinstall": "husky install", "themes:build": "sass src/assets/css/themes/:src/assets/css/themes", "themes:watch": "sass --watch src/assets/css/themes/:src/assets/css/themes", "translations:generate": "node generate_translations.js",