From 5fbf3d78f38c1ce7847b482112ce2815ba2e4c7b Mon Sep 17 00:00:00 2001 From: Audrius Vaitonis Date: Wed, 10 Apr 2024 12:59:15 +0100 Subject: [PATCH] feat(DTFS2-7052): trying to automate husky run on commit --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 506f1cec..d5ef544c 100644 --- a/package.json +++ b/package.json @@ -11,13 +11,13 @@ "housekeeping": "npm update --save --legacy-peer-deps && npm i --legacy-peer-deps && npm audit --fix && npm run spellcheck", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", + "prepare": "husky", "spellcheck": "cspell lint --gitignore --no-must-find-files --unique --no-progress --show-suggestions --color '**/*'", "start": "nest start", "start:debug": "nest start --debug --watch", "start:dev": "nest start --tsc --watch", "start:prod": "node dist/src/main", - "unit-test": "jest --selectProjects=Unit", - "prepare": "husky" + "unit-test": "jest --selectProjects=Unit" }, "lint-staged": { "**/package.json": "sort-package-json",