Update Husky scripts

This commit is contained in:
nitrohorse
2019-08-03 13:29:51 -07:00
parent de91049200
commit 9b4f84d96c
80 changed files with 2368 additions and 1765 deletions

View File

@ -3,10 +3,17 @@
"version": "1.0.0",
"description": "[![privacytools](https://privacytools.io/assets/img/layout/logo.png)](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",