Skip to content

Commit

Permalink
fix: package.json scripts are removed from published package
Browse files Browse the repository at this point in the history
  • Loading branch information
n-tucker committed Aug 19, 2024
1 parent bc6c552 commit b1169f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down

0 comments on commit b1169f9

Please sign in to comment.