From 2a0619d3193287aaa948fc4edf0bb2ccb4150a7b Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 5 May 2021 09:04:33 -0700 Subject: [PATCH] =?UTF-8?q?[meta]=20ensure=20`not-in-publish`=E2=80=98s=20?= =?UTF-8?q?absence=20does=20not=20fail=20anything?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f43a4d4c..aa064336 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ }, "scripts": { "prepublishOnly": "safe-publish-latest", - "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublish": "!(type not-in-publish) || not-in-publish || npm run prepublishOnly", "prelint": "eclint check", "lint": "eslint . bin/*", "pretest": "npm run lint",