Skip to content

Commit

Permalink
fix(core): add script to init husky (#445)
Browse files Browse the repository at this point in the history
GH-0
  • Loading branch information
akshatdubeysf authored Dec 23, 2021
1 parent caaa1bd commit 9b7032a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,11 @@ This section must start with the upper case text `BREAKING CHANGE` followed by a
colon (`:`) and a space (``). A description must be provided, describing what
has changed and how to migrate from older versions.

## Husky setup for commit hooks

- run `npm i` at the root of the project
- run `npx husky install` or `npm run prepare` at the root of the project

### Tools to help generate a commit message

This repository has [commitizen](https://github.com/commitizen/cz-cli) support
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"name": "@sourceloop/root",
"private": false,
"scripts": {},
"scripts": {
"prepare": "husky install"
},
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
Expand Down

0 comments on commit 9b7032a

Please sign in to comment.