From 5d27a70d6e62dd939b51c5634d1c9d02f54516b7 Mon Sep 17 00:00:00 2001 From: Francisco Pessano <76450203+FranP-code@users.noreply.github.com> Date: Sun, 31 Aug 2025 23:27:07 +0000 Subject: [PATCH] fix: move TypeScript compilation to prepack and prepare scripts --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6471f2d..d53b9d1 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,8 @@ "lint": "eslint src --ext .js,.ts", "lint:fix": "yarn format && yarn lint --fix", "preinstall": "node ./engine-requirements.js", - "postinstall": "npx tsc", + "prepack": "npx tsc", + "prepare": "npx tsc", "release": "release-it", "test": "jest" },