From f00b88e2b757aa0f4546c3afebec85c50a61bb9c Mon Sep 17 00:00:00 2001 From: Juan Allo Ron <2070972+juanallo@users.noreply.github.com> Date: Mon, 22 Feb 2021 22:40:09 -0800 Subject: [PATCH] adding pre-push hooks --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 355615a5..180563c6 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "license": "https://wisemapping.atlassian.net/wiki/spaces/WS/pages/524357/WiseMapping+Public+License+Version+1.0+WPL", "husky": { "hooks": { - "pre-commit": "lint-staged" + "pre-commit": "lint-staged", + "pre-push": "yarn lint && yarn test" } }, "lint-staged": {