diff options
author | Chris Kay <chris.kay@arm.com> | 2020-12-09 12:56:27 +0000 |
---|---|---|
committer | Chris Kay <chris.kay@arm.com> | 2021-04-19 14:06:25 +0100 |
commit | ba39362f21113d2d75168234ca2264241257c6b6 (patch) | |
tree | b112a8b6dbd8a91d3a90ac7b7f4f846b12f1e9a7 /package-lock.json | |
parent | 38b7c9c651c304bed9eea47905fc3072fb2af24e (diff) | |
download | arm-trusted-firmware-ba39362f21113d2d75168234ca2264241257c6b6.tar.gz |
build(hooks): add Husky configuration
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>
Diffstat (limited to 'package-lock.json')
-rw-r--r-- | package-lock.json | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 000000000..a7f581073 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,43 @@ +{ + "name": "tf-a", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "hasInstallScript": true, + "devDependencies": { + "husky": "^5.0.4" + } + }, + "node_modules/husky": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/husky/-/husky-5.2.0.tgz", + "integrity": "sha512-AM8T/auHXRBxlrfPVLKP6jt49GCM2Zz47m8G3FOMsLmTv8Dj/fKVWE0Rh2d4Qrvmy131xEsdQnb3OXRib67PGg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/typicode" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/husky" + } + ], + "bin": { + "husky": "lib/bin.js" + }, + "engines": { + "node": ">= 10" + } + } + }, + "dependencies": { + "husky": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/husky/-/husky-5.2.0.tgz", + "integrity": "sha512-AM8T/auHXRBxlrfPVLKP6jt49GCM2Zz47m8G3FOMsLmTv8Dj/fKVWE0Rh2d4Qrvmy131xEsdQnb3OXRib67PGg==", + "dev": true + } + } +} |