Skip to content

Commit 7ad1816

Browse files
author
Norman Rusch
committed
Fix husky setup
1 parent d2ff50d commit 7ad1816

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.husky/
12
coverage/
23
node_modules/
34
.DS_Store

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111
},
1212
"main": "index.js",
1313
"scripts": {
14+
"postinstall": "husky install",
1415
"docs": "concat -o README.md ./docs/intro.md ./docs/installation.md ./docs/usage.md ./docs/options.md ./docs/functions.md ./docs/contribution.md ./docs/license.md",
1516
"audit": "snyk test",
1617
"test": "jest lib/ --verbose --coverage && codecov",
1718
"lint": "eslint . --ext .js",
18-
"release": "release-it"
19+
"release": "HUSKY=0 release-it"
1920
},
2021
"keywords": [
2122
"validation",

0 commit comments

Comments
 (0)