From c2aa9b6cf607017291d8eeb671fd44e8c82f4c9b Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Tue, 19 Aug 2025 11:24:16 +0700 Subject: [PATCH] feat: Add postinstall script to automate build process --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 4f1217f..b96f87d 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ } }, "scripts": { + "postinstall": "npm run build", "build": "bun run build:cjs && bun run build:esm && bun run build:types", "build:cjs": "tsc -p tsconfig.cjs.json", "build:esm": "echo 'ESM build disabled - use CommonJS for now'",