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 dc0ac10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 Expand Up @@ -63,4 +63,4 @@
"aws-cdk-lib": "^2.99.0",
"constructs": "^10.0.0"
}
}
}

0 comments on commit dc0ac10

Please sign in to comment.