Skip to content

Commit

Permalink
Chore: Run prepublish only before publishing
Browse files Browse the repository at this point in the history
The prepublish script is run on install or add.
Apparently this is the standard behavior.
See yarnpkg/yarn#3209
  • Loading branch information
ncuillery committed Apr 12, 2020
1 parent 2977ce7 commit e95563a
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 @@ -6,7 +6,7 @@
"scripts": {
"format:check": "prettier . --check",
"format:write": "prettier . --write",
"prepublish": "yarn format:check && yarn test && tsc",
"prepublishOnly": "yarn format:check && yarn test && tsc",
"pretest": "jest --clearCache",
"test": "jest"
},
Expand Down

0 comments on commit e95563a

Please sign in to comment.