Skip to content

Commit e8de5ac

Browse files
authored
staying ahead of bugs (#221)
πŸƒπŸΌπŸ’¨πŸž
1 parent 9f36761 commit e8de5ac

File tree

3 files changed

+56
-51
lines changed

3 files changed

+56
-51
lines changed

β€Ž.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm test

β€Žpackage-lock.json

Lines changed: 49 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žpackage.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"scripts": {
1414
"test": "jest",
1515
"build": "esbuild --bundle ./index.ts --platform=node --target=node12 --main-fields=main --outdir=dist && pretty-quick dist/index.js",
16-
"lint": "eslint src/* --ext .ts"
16+
"lint": "eslint src/* --ext .ts",
17+
"prepare": "husky install"
1718
},
1819
"engines": {
1920
"node": ">12.0.0"
@@ -106,7 +107,7 @@
106107
"eslint": "8.12.0",
107108
"eslint-config-prettier": "8.5.0",
108109
"eslint-plugin-prettier": "4.0.0",
109-
"husky": "7.0.4",
110+
"husky": "^7.0.0",
110111
"jest": "27.5.1",
111112
"lint-staged": "10.5.3",
112113
"prettier": "2.6.2",

0 commit comments

Comments
Β (0)