Fix Husky git hooks not being installed anymore (#31435)

This commit is contained in:
Renaud Chaput 2024-08-19 15:55:18 +02:00 committed by GitHub
parent 99051479c1
commit 40f6631ac9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@
"lint:css": "stylelint \"**/*.{css,scss}\"", "lint:css": "stylelint \"**/*.{css,scss}\"",
"lint": "yarn lint:js && yarn lint:css", "lint": "yarn lint:js && yarn lint:css",
"postversion": "git push --tags", "postversion": "git push --tags",
"prepare": "husky", "postinstall": "test -d node_modules/husky && husky || echo \"husky is not installed\"",
"start": "node ./streaming/index.js", "start": "node ./streaming/index.js",
"test": "yarn lint && yarn run typecheck && yarn jest", "test": "yarn lint && yarn run typecheck && yarn jest",
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"