From a3b6657e093b55d597217b439efff92ea677d31f Mon Sep 17 00:00:00 2001 From: Sylvain Lesage Date: Thu, 28 Nov 2024 13:46:33 +0100 Subject: [PATCH] build before npm pack for example. Recommended by npm. --- packages/components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/package.json b/packages/components/package.json index 2210bd2..ca9893e 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -35,7 +35,7 @@ "coverage": "vitest run --coverage --coverage.include=src", "dev": "vite ./demo", "lint": "eslint .", - "prepublishOnly": "npm run build", + "prepare": "npm run build", "test": "vitest run" }, "dependencies": {