From 5400a15ea77095ace26ac37a4f0b35e3a14bd2db Mon Sep 17 00:00:00 2001 From: Jonathan Netley Date: Tue, 22 Mar 2022 17:51:48 +0200 Subject: [PATCH] fix: added pre-publish script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a80c77b..d2d2288 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "scripts": { "watch": "parcel watch", "build": "parcel build", - "test": "echo \"Error: no test specified\" && exit 1" + "prepublishOnly": "npm run build", + "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git",