Skip to content

Commit

Permalink
Don't build after npm install, only on publish
Browse files Browse the repository at this point in the history
Use the new prepublishOnly hook instead of prepublish.
  • Loading branch information
mikkopiu committed Jan 18, 2024
1 parent 7c37164 commit 435766b
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 @@ -44,7 +44,7 @@
"validate": "tsc --noEmit",
"full": "npm run validate && npm run lint && npm run prettier && npm run test",
"prepare": "husky install",
"prepublish": "rimraf dist && npm run build",
"prepublishOnly": "rimraf dist && npm run build",
"build": "tsc --project tsconfig.build.json"
},
"keywords": [],
Expand Down

0 comments on commit 435766b

Please sign in to comment.