summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorChris Kay <chris.kay@arm.com>2024-03-07 15:27:38 +0000
committerChris Kay <chris.kay@arm.com>2024-03-07 16:13:15 +0000
commit7944421ba4dfd3c49a26d525a884d8408ef127a8 (patch)
treec49381bd4d4b43facfd33799439b5a6e93607807 /package.json
parent10eb851f92acc67f7cdb955770e3bdced3026677 (diff)
downloadarm-trusted-firmware-7944421ba4dfd3c49a26d525a884d8408ef127a8.tar.gz
arm-trusted-firmware-7944421ba4dfd3c49a26d525a884d8408ef127a8.zip
build(npm): adhere to Husky deprecation notice
Husky v8 adds the `husky init` subcommand, and v9 changes how it handles hooks. We no longer need the Husky preamble in our hooks, so update to the new `init` subcommand and remove the preambles. Change-Id: I18ea1bbaedbb4213cc04c21413d75c9757ff7986 Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 43c897e55..7ad5c58f7 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"type": "module",
"private": true,
"scripts": {
- "postinstall": "husky install",
+ "prepare": "husky",
"release": "standard-version"
},
"engines": {