From b1169f9388c9b1d40b5fc45bf6008405344f561b Mon Sep 17 00:00:00 2001 From: Nicholas Tucker Date: Mon, 19 Aug 2024 14:20:40 +1000 Subject: [PATCH] fix: package.json scripts are removed from published package --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3e0c2c9..81707c0 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ ".": "./dist/index.js" }, "scripts": { - "prebuildpackage": "pnpm run clean && pnpm run build --project tsconfig.dist.json", + "prebuildpackage": "pnpm run clean && pnpm run build --project tsconfig.dist.json && npm pkg delete scripts", "preinstall": "npx only-allow pnpm", "build": "tsc", "clean": "tsc --build --clean && (rm -rf dist || true)",