Skip to content

Commit

Permalink
[meta] add safe-publish-latest; use prepublishOnly script for npm 7+
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed May 5, 2021
1 parent 0e8f19d commit 379115d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -54,6 +54,8 @@
"tap-parser": "^3.0.5"
},
"scripts": {
"prepublishOnly": "safe-publish-latest",
"prepublish": "not-in-publish || npm run prepublishOnly",
"prelint": "eclint check",
"lint": "eslint . bin/*",
"pretest": "npm run lint",
Expand Down

0 comments on commit 379115d

Please sign in to comment.