Skip to content

Commit 9c8f809

Browse files
committed
[meta] add safe-publish-latest
1 parent baf6893 commit 9c8f809

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,15 @@
2929
"@ljharb/eslint-config": "^21.0.1",
3030
"covert": "^1.1.1",
3131
"eslint": "=8.8.0",
32+
"in-publish": "^2.0.1",
3233
"npmignore": "^0.3.0",
34+
"safe-publish-latest": "^2.0.0",
3335
"tape": "^5.6.3"
3436
},
3537
"license": "MIT",
3638
"scripts": {
39+
"prepublishOnly": "safe-publish-latest",
40+
"prepublish": "not-in-publish || npm run prepublishOnly",
3741
"prepack": "npmignore --auto --commentLines=autogenerated",
3842
"pretest": "npm run lint",
3943
"test": "npm run tests-only",

0 commit comments

Comments
 (0)