adding pre-push hooks

This commit is contained in:
Juan Allo Ron 2021-02-22 22:40:09 -08:00
parent 5be7d10c89
commit b3762a574b

View File

@ -43,7 +43,8 @@
"license": "https://wisemapping.atlassian.net/wiki/spaces/WS/pages/524357/WiseMapping+Public+License+Version+1.0+WPL", "license": "https://wisemapping.atlassian.net/wiki/spaces/WS/pages/524357/WiseMapping+Public+License+Version+1.0+WPL",
"husky": { "husky": {
"hooks": { "hooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged",
"pre-push": "yarn lint && yarn test"
} }
}, },
"lint-staged": { "lint-staged": {