Skip to content

Commit 144b686

Browse files
committedApr 21, 2021
Testing Husky integration
1 parent cfd9a63 commit 144b686

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed
 

‎.husky/pre-commit

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
# @TODO: Implement the pre-commit checks.
5-
# npm run lint
6-
# npm run test
4+
npm run lint
5+
npm run test

‎.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=false

‎package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,8 @@
4848
"husky": "6.0.0",
4949
"jest": "26.6.3"
5050
},
51-
"dependencies": {}
51+
"engines": {
52+
"node": ">=12.0.0",
53+
"npm": ">=6.9.0"
54+
}
5255
}

0 commit comments

Comments
 (0)
Please sign in to comment.