1
0
mirror of https://github.com/amir20/dozzle.git synced 2026-01-03 11:35:00 +01:00

Adds new husky

This commit is contained in:
Amir Raminfar
2020-12-12 15:21:03 -08:00
parent 8094295228
commit 40110b4aa2

View File

@@ -14,7 +14,8 @@
"clean": "rm -rf static/ a_main-packr.go",
"release": "release-it",
"test": "TZ=UTC jest",
"integration": "docker-compose -f integration/docker-compose.test.yml up --build --force-recreate --exit-code-from integration"
"integration": "docker-compose -f integration/docker-compose.test.yml up --build --force-recreate --exit-code-from integration",
"postinstall": "husky install"
},
"repository": {
"type": "git",
@@ -78,11 +79,6 @@
"webpack-dev-server": "^3.11.0",
"webpack-pwa-manifest": "^4.3.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,vue,css}": [
"prettier --write"