From 52190a5112bd5f6352c679a276ebcae302346539 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Tue, 7 Oct 2025 17:44:42 -0700 Subject: [PATCH] chore(tools): lint and build before publishing --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index df60052..ce1cca0 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "type": "module", "main": "prod/index.js", "scripts": { + "prepublish": "pnpm lint && pnpm build", "lint": "eslint src --max-warnings 0", "build": "rm -rf prod && tsc", "test": "echo \"Error: no test specified\" && exit 0"