From 08722859f5bb45a98ffbbf6cbe7ab7ab0196c887 Mon Sep 17 00:00:00 2001 From: Beau Gunderson Date: Mon, 25 Sep 2023 11:20:40 -0600 Subject: [PATCH] yarn doesn't support prepublishOnly --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fb001dd..6d437ad 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "scripts": { "docs": "documentation build --github --output docs --format html ./ip-address.js", "build": "rm -rf dist/* && tsc -p tsconfig.json", - "prepublishOnly": "npm run build", + "prepack": "npm run build", "release": "release-it", "test-ci": "nyc mocha", "test": "mocha",