We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
safe-publish-latest
1 parent 397cb62 commit 18cadf9Copy full SHA for 18cadf9
package.json
@@ -12,6 +12,8 @@
12
"@ljharb/eslint-config": "^21.0.0",
13
"aud": "^2.0.1",
14
"eslint": "=8.8.0",
15
+ "in-publish": "^2.0.1",
16
+ "safe-publish-latest": "^2.0.0",
17
"tape": "^5.6.1"
18
},
19
"homepage": "https://github.com/substack/node-shell-quote",
@@ -28,6 +30,8 @@
28
30
"url": "https://github.com/substack/node-shell-quote.git"
29
31
32
"scripts": {
33
+ "prepublish": "not-in-publish || npm run prepublishOnly",
34
+ "prepublishOnly": "safe-publish-latest",
35
"lint": "eslint --ext=js,mjs .",
36
"pretest": "npm run lint",
37
"tests-only": "tape 'test/**/*.js'",
0 commit comments