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)",