From b988738c313ac2270dd5b484ea290182740adbeb Mon Sep 17 00:00:00 2001 From: Rummskartoffel <20257197+Rummskartoffel@users.noreply.github.com> Date: Thu, 26 Nov 2020 00:18:29 +0100 Subject: [PATCH] Replace shared-git-hooks with package.json script --- package.json | 4 ++-- yarn.lock | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 625e9368..b4e1fc38 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,6 @@ "nearley": "^2.19.8", "prettier": "^2.2.0", "selenium-webdriver": "^4.0.0-alpha.7", - "shared-git-hooks": "^1.2.1", "source-map-loader": "^1.1.2", "ts-jest": "^25.5.1", "ts-loader": "^8.0.11", @@ -69,7 +68,8 @@ "run": "web-ext run -s build/ -u 'txti.es'", "test": "yarn run build && web-ext build --source-dir ./build --overwrite-dest && jest --silent", "update-buildsystem": "rm -rf src/node_modules; yarn run clean", - "watch": "echo 'watch is broken, use build instead'; exit 0;" + "watch": "echo 'watch is broken, use build instead'; exit 0;", + "install": "git config core.hookspath hooks/" }, "author": "Colin Caine", "repository": { diff --git a/yarn.lock b/yarn.lock index ced6b5be..59441c4d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8200,11 +8200,6 @@ sha.js@^2.4.0, sha.js@^2.4.8, sha.js@~2.4.4: inherits "^2.0.1" safe-buffer "^5.0.1" -shared-git-hooks@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/shared-git-hooks/-/shared-git-hooks-1.2.1.tgz#f17f59677cbf8fc3ee8ee71934a9de70a0920cce" - integrity sha1-8X9ZZ3y/j8PujucZNKnecKCSDM4= - shebang-command@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"