about summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-07-13 15:55:30 -0700
committerEric Bailey <git@esb.lol>2023-07-13 15:55:30 -0700
commit5a2401ada91a8998500945892956d49ec8d86dd9 (patch)
treeb91d8eb656e219c5dea3ba058f0833daa5567243 /package.json
parentc83573bf972a60b6606645ec9cca3a7c41212189 (diff)
downloadvoidsky-5a2401ada91a8998500945892956d49ec8d86dd9.tar.zst
conditionally install husky
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 86bb8283b..4f22c7458 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
   "version": "1.41.0",
   "private": true,
   "scripts": {
-    "prepare": "husky install",
+    "prepare": "is-ci || husky install",
     "postinstall": "patch-package",
     "prebuild": "expo prebuild",
     "android": "expo run:android",
@@ -178,6 +178,7 @@
     "eslint-plugin-ft-flow": "^2.0.3",
     "html-webpack-plugin": "^5.5.0",
     "husky": "^8.0.3",
+    "is-ci": "^3.0.1",
     "jest": "^29.4.3",
     "jest-expo": "^48.0.2",
     "jest-junit": "^15.0.0",