diff --git a/.githooks/pre-commit b/.githooks/pre-commit deleted file mode 100755 index 15ed424..0000000 --- a/.githooks/pre-commit +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -npm run format && git add -A \ No newline at end of file diff --git a/.githooks/setup.sh b/.githooks/setup.sh deleted file mode 100755 index dd4d0c2..0000000 --- a/.githooks/setup.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -git config core.hooksPath .githooks -chmod +x .githooks/* -git config alias.add '!f() { npm run format && git add "$@"; }; f' \ No newline at end of file diff --git a/package.json b/package.json index be92e98..c5743df 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,6 @@ "cli:build": "cross-env NODE_ENV=production rollup -c rollup.config.js", "test": "npm run cli:build && PAKE_CREATE_APP=1 node tests/index.js", "format": "prettier --write . --ignore-unknown && cd src-tauri && cargo fmt --verbose", - "hooks:setup": "bash .githooks/setup.sh", "prepublishOnly": "npm run cli:build" }, "type": "module",