From 990b81abe73a77c2bfb0d1af72e9bcb052f030b5 Mon Sep 17 00:00:00 2001
From: nostrdev-com <support@nostrdev.com>
Date: Thu, 3 Apr 2025 10:43:57 +0300
Subject: [PATCH] chore(scripts): added preinstall script

---
 package.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 96099ab..08640f6 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,8 @@
     "lint:fix": "eslint . --fix --ext ts --report-unused-disable-directives --max-warnings 0",
     "lint:staged": "eslint --fix --ext ts --report-unused-disable-directives --max-warnings 0",
     "lint-staged": "lint-staged",
-    "start:db": "docker compose -f mongo-docker-compose.yml up -d"
+    "start:db": "docker compose -f mongo-docker-compose.yml up -d",
+    "preinstall": "git config core.hooksPath .git-hooks"
   },
   "repository": {
     "type": "git",