From 0a1acb3abbb3391ea841cdeb745a33afc84bc078 Mon Sep 17 00:00:00 2001 From: Jan W Date: Wed, 11 Dec 2024 09:07:12 +0100 Subject: [PATCH] chore: make sure package is built before publishing --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 752a9ce..c42b9a2 100755 --- a/package.json +++ b/package.json @@ -51,7 +51,8 @@ "benchmark": "jest /benchmark", "postbenchmark": "open -a Chrome benchmark/chart/index.html", "prebuild": "rm -rf lib", - "build": "tsc" + "build": "tsc", + "prepublishOnly": "yarn build" }, "files": [ "lib"