From 6c08d431b71b0fb39246855d3fca927fd95e77b4 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Tue, 7 Oct 2025 17:42:56 -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 f86dbfd..aae2552 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "private": false, "main": "prod/index.js", "scripts": { + "prepublish": "pnpm run lint && pnpm run build", "lint": "eslint src --max-warnings 0", "build": "rm -rf prod && tsc", "test": "echo \"Error: no test specified\" && exit 0"