From 17c5ad29b2400d43e8cb03e40d98083935050bc7 Mon Sep 17 00:00:00 2001 From: Frederik Leonhardt Date: Tue, 30 Apr 2024 21:54:22 +1200 Subject: [PATCH] Add workaround for ospec binary conflict See: https://github.com/MithrilJS/mithril.js/issues/2794 --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 66ccd8c..ea2c4d5 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "compile": "tsc", "fix": "gts fix", "prepare": "npm run compile", - "pretest": "npm run compile" + "pretest": "npm run compile", + "postinstall": "ln -sf ../ospec/bin/ospec node_modules/.bin/ospec" }, "keywords": [], "author": "Frederik Leonhardt ", @@ -62,4 +63,4 @@ "dist/" ], "prettier": "gts/.prettierrc.json" -} +} \ No newline at end of file