mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-13 16:14:20 +00:00

Husky is a tool for managing Git hooks within the repository itself. Traditionally, commit hooks need to be manually installed on a per-user basis, but Husky allows us to install these hooks either automatically when `npm install` is invoked within the repository, or manually with `npx husky install`. This will become useful for us in the next few patches when we begin introducing tools for enforcing a commit message style. Change-Id: I64cae147e9ea910347416cfe0bcc4652ec9b4830 Signed-off-by: Chris Kay <chris.kay@arm.com>
9 lines
127 B
JSON
9 lines
127 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"postinstall": "husky install"
|
|
},
|
|
"devDependencies": {
|
|
"husky": "^5.0.4"
|
|
}
|
|
}
|