We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
prepublishOnly
1 parent 42b3cbf commit 44c5433Copy full SHA for 44c5433
package.json
@@ -19,7 +19,8 @@
19
"./package.json": "./package.json"
20
},
21
"scripts": {
22
- "prepublish": "safe-publish-latest",
+ "prepublish": "not-in-publish || npm run prepublishOnly",
23
+ "prepublishOnly": "safe-publish-latest",
24
"lint": "eslint --ext=.js,.mjs .",
25
"pretest": "npm run lint",
26
"tests-only": "nyc tape 'test/*'",
0 commit comments