diff --git a/package.json b/package.json index fa6aaee..55dfaaa 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "./package.json": "./package.json" }, "scripts": { - "prepublish": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", "pretest": "npm run lint", "prelint": "evalmd README.md", "lint": "eslint --ext=js,mjs .",