Skip to content

Commit 01fc23f

Browse files
committed
[meta] add safe-publish-latest
1 parent f58745b commit 01fc23f

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
@@ -7,12 +7,16 @@
77
"@ljharb/eslint-config": "^21.0.0",
88
"aud": "^2.0.1",
99
"eslint": "=8.8.0",
10+
"in-publish": "^2.0.1",
1011
"npmignore": "^0.3.0",
1112
"nyc": "^10.3.2",
13+
"safe-publish-latest": "^2.0.0",
1214
"tape": "^5.6.1"
1315
},
1416
"scripts": {
1517
"prepack": "npmignore --auto --commentLines=auto",
18+
"prepublishOnly": "safe-publish-latest",
19+
"prepublish": "not-in-publish || npm run prepublishOnly",
1620
"lint": "eslint --ext=js,mjs .",
1721
"pretest": "npm run lint",
1822
"tests-only": "nyc tape test/*.js",

0 commit comments

Comments
 (0)