From ef44dab3bc0595d72a1f9f6a4cffecca5612bb90 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Tue, 18 Oct 2022 14:09:53 +0200 Subject: [PATCH] add prepublish --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5af4b6a..e104208 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,8 @@ "dev": "run-p -ln dev:*", "dev:build": "tsc -w -p tsconfig.esm.json", "dev:test:node": "mocha --parallel --watch", - "dev:test:browser": "karma start .karma.cjs" + "dev:test:browser": "karma start .karma.cjs", + "prepublishOnly": "run-s clean build" }, "devDependencies": { "@endyjasmi/karma-playwright-launcher": "^0.0.4",