Testing Husky integration

This commit is contained in:
Oleksii Trekhleb 2021-04-21 16:55:26 +02:00
parent cfd9a630ff
commit 144b686776
3 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,5 @@
#!/bin/sh #!/bin/sh
. "$(dirname "$0")/_/husky.sh" . "$(dirname "$0")/_/husky.sh"
# @TODO: Implement the pre-commit checks. npm run lint
# npm run lint npm run test
# npm run test

1
.npmrc Normal file
View File

@ -0,0 +1 @@
engine-strict=false

View File

@ -48,5 +48,8 @@
"husky": "6.0.0", "husky": "6.0.0",
"jest": "26.6.3" "jest": "26.6.3"
}, },
"dependencies": {} "engines": {
"node": ">=12.0.0",
"npm": ">=6.9.0"
}
} }