Adding Husky to avoid forgetting to build GitHub action

This commit is contained in:
Julien Lengrand-Lambert
2023-03-08 11:58:23 +01:00
parent bb0ac9191d
commit c3a39d7b21
3 changed files with 34 additions and 1 deletions

View File

@@ -6,7 +6,8 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"local": "node localRun.js",
"build": "ncc build index.js --license licenses.txt"
"build": "ncc build index.js --license licenses.txt",
"prepare": "husky install"
},
"repository": {
"type": "git",
@@ -24,5 +25,8 @@
"@actions/github": "^5.1.1",
"@vercel/ncc": "^0.36.1",
"dotenv": "^16.0.3"
},
"devDependencies": {
"husky": "^8.0.0"
}
}