chore: add husky for building

This commit is contained in:
Federico Grandi
2020-10-29 08:46:41 +01:00
parent e3b93a10e2
commit 34757b89f7
2 changed files with 214 additions and 0 deletions

View File

@@ -11,6 +11,11 @@
"inputs": "ts-node scripts/inputs.ts",
"test": "echo \"Error: no test specified\" && exit 1"
},
"husky": {
"hooks": {
"pre-commit": "npm run build"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/EndBug/add-and-commit.git"
@@ -41,6 +46,7 @@
"@vercel/ncc": "^0.24.1",
"all-contributors-cli": "^6.19.0",
"eslint": "^6.8.0",
"husky": "^4.3.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.2",
"yamljs": "^0.3.0"