22.5 Husky
The last tool we want to introduce you to in this chapter is called Husky, which helps you integrate your tools into the version control process. Husky is a tool that specializes in Git as a version control system and can be used to create Git hooks. The tool itself is written in TypeScript and implemented as a Node.js application.
Husky is installed locally in your application as devDependency via the npm install -save-dev husky command. After that, you must enable Husky for your project using the npx husky install command.
An optional additional step is to include Husky in your application installation process as well. This then causes developers who download the application source code to their system to run an npm install
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access