From da262dafccbda3e7019952c9e90fa426b0ebac3f Mon Sep 17 00:00:00 2001 From: Umar Ahmed Date: Sat, 21 Oct 2023 17:23:28 -0400 Subject: [PATCH] add prepublishOnly script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1036189..9c9f64a 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "scripts": { "dev": "vite", "build": "vite build", - "test": "vitest run" + "test": "vitest run", + "prepublishOnly": "yarn run build && yarn run test" } }