From c9606e16d408eb9766a35222a247fab5f76a5619 Mon Sep 17 00:00:00 2001 From: Alec Larson <1925840+aleclarson@users.noreply.github.com> Date: Mon, 24 Jun 2024 15:55:32 -0400 Subject: [PATCH] chore: add prepublishOnly script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 79080b42..5a35006a 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "format": "prettier --write -u src docs *.ts *.json", "test": "vitest run --coverage", "docs:install": "pnpm add next@12.3.4 chiller@1.0.0-rc.30 -D", - "docs:build": "chiller build --ci" + "docs:build": "chiller build --ci", + "prepublishOnly": "pnpm build" }, "devDependencies": { "@commitlint/config-conventional": "^19.2.2",