Skip to content

Commit 34757b8

Browse files
committed
chore: add husky for building
1 parent e3b93a1 commit 34757b8

File tree

2 files changed

+214
-0
lines changed

2 files changed

+214
-0
lines changed

package-lock.json

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

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
"inputs": "ts-node scripts/inputs.ts",
1212
"test": "echo \"Error: no test specified\" && exit 1"
1313
},
14+
"husky": {
15+
"hooks": {
16+
"pre-commit": "npm run build"
17+
}
18+
},
1419
"repository": {
1520
"type": "git",
1621
"url": "git+https://github.com/EndBug/add-and-commit.git"
@@ -41,6 +46,7 @@
4146
"@vercel/ncc": "^0.24.1",
4247
"all-contributors-cli": "^6.19.0",
4348
"eslint": "^6.8.0",
49+
"husky": "^4.3.0",
4450
"ts-node": "^9.0.0",
4551
"typescript": "^4.0.2",
4652
"yamljs": "^0.3.0"

0 commit comments

Comments
 (0)