From 08461620d831c08119b89a1e4643ded7da8f0639 Mon Sep 17 00:00:00 2001 From: Stefan Nienhuis Date: Sat, 16 Oct 2021 18:07:04 +0200 Subject: [PATCH] Add prepublish script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0f62e7e..e625f72 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "homebridge": ">=1.0.0" }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "prepublishOnly": "tsc" }, "keywords": [ "homebridge-plugin",