diff --git a/package-lock.json b/package-lock.json index c21384e..3b81ba7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,8 @@ "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^9.0.2", "@semantic-release/npm": "^11.0.0", - "@semantic-release/release-notes-generator": "^12.0.0" + "@semantic-release/release-notes-generator": "^12.0.0", + "husky": "^9.0.6" }, "engines": { "node": ">=18.16.0" @@ -10287,6 +10288,21 @@ "node": ">=10.17.0" } }, + "node_modules/husky": { + "version": "9.0.11", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz", + "integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==", + "dev": true, + "bin": { + "husky": "bin.mjs" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "/~https://github.com/sponsors/typicode" + } + }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", diff --git a/package.json b/package.json index 7863eba..546477b 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ "clear": "docusaurus clear", "serve": "docusaurus serve", "write-translations": "docusaurus write-translations", - "write-heading-ids": "docusaurus write-heading-ids" + "write-heading-ids": "docusaurus write-heading-ids", + "husky": "husky install", + "prepare": "npm run husky" }, "dependencies": { "@docusaurus/core": "^3.3.0", @@ -27,7 +29,8 @@ "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^9.0.2", "@semantic-release/npm": "^11.0.0", - "@semantic-release/release-notes-generator": "^12.0.0" + "@semantic-release/release-notes-generator": "^12.0.0", + "husky": "^9.0.6" }, "browserslist": { "production": [