Update Husky scripts
This commit is contained in:
@ -3,10 +3,17 @@
|
||||
"version": "1.0.0",
|
||||
"description": "[](https://www.privacytools.io/)",
|
||||
"devDependencies": {
|
||||
"husky": "^3.0.2",
|
||||
"js-beautify": "1.10.1"
|
||||
},
|
||||
"scripts": {
|
||||
"html-beautify": "node_modules/.bin/html-beautify --editorconfig .editorconfig _includes/**/*.html"
|
||||
"html-beautify": "node_modules/.bin/html-beautify --editorconfig .editorconfig -r '**/*.html'"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run html-beautify",
|
||||
"pre-push": "npm run html-beautify"
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Reference in New Issue
Block a user