Skip to content

Commit 379115d

Browse files
committed
[meta] add safe-publish-latest; use prepublishOnly script for npm 7+
1 parent 0e8f19d commit 379115d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
"tap-parser": "^3.0.5"
5555
},
5656
"scripts": {
57+
"prepublishOnly": "safe-publish-latest",
58+
"prepublish": "not-in-publish || npm run prepublishOnly",
5759
"prelint": "eclint check",
5860
"lint": "eslint . bin/*",
5961
"pretest": "npm run lint",

0 commit comments

Comments
 (0)