Adding husky hook

This commit is contained in:
Dessalines 2021-10-14 14:41:39 -04:00
parent ae670251ab
commit e88a992d25

View file

@ -12,7 +12,7 @@
"build": "tsc",
"docs": "typedoc src/index.ts --sourcefile-url-prefix 'https://github.com/LemmyNet/lemmy-js-client/tree/main/src/'",
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
"prepare": "yarn run build"
"prepare": "yarn run build && husky install"
},
"repository": "https://github.com/LemmyNet/lemmy-js-client",
"devDependencies": {