From ab8cb09474fbbd347531aa46461d17422c356858 Mon Sep 17 00:00:00 2001 From: Daniel <30466471+daniel0611@users.noreply.github.com> Date: Sat, 8 May 2021 18:19:53 +0200 Subject: [PATCH] fix: build ts in prepublishOnly instead of prepublish because npm Follow up on #12 `prepublish` does not run on `npm publish` KEKW, only `prepublishOnly` does. Brilliant naming! --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 38464ac..c6b8de6 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "format-pre-commit": "pretty-quick --staged --pattern '*/**/*.{ts,json,md,js}'", "prepare": "husky install", "semantic-release": "semantic-release", - "prepublish": "npm run build" + "prepublishOnly": "npm run build" }, "bin": { "nodecg-io": "index.js"