From faa7895f02da66f3e6c90d1985e94581493f99da Mon Sep 17 00:00:00 2001 From: Dmitry Kisler Date: Mon, 16 Oct 2023 16:27:51 +0200 Subject: [PATCH] chore: update pre-commit Signed-off-by: Dmitry Kisler --- .husky/pre-commit | 1 - .husky/pre-push | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 .husky/pre-push diff --git a/.husky/pre-commit b/.husky/pre-commit index cc04a1c..5a475c5 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1,5 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npm install npm run test npm run build && git add dist/ diff --git a/.husky/pre-push b/.husky/pre-push new file mode 100755 index 0000000..4caa8e0 --- /dev/null +++ b/.husky/pre-push @@ -0,0 +1,5 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +npm install +npm test