From d87016bb6263173a4f9adaedae638bc518d143d2 Mon Sep 17 00:00:00 2001 From: KucingKode Date: Thu, 14 Oct 2021 11:42:03 +0800 Subject: [PATCH] fix: change npm scripts prepublish -> prepublishOnly --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4a04a52..a58d0cc 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "build/file/cithak.js", "scripts": { "build": "NODE_ENV=production rollup -c", - "prepublish": "npm run build", + "prepublishOnly": "npm run build", "dev": "rollup -cw", "build-ubuntu-latest": "pkg -t linux -o ./build/bin/cithak-linux ./cithak.js", "build-windows-latest": "pkg -t win -o ./build/bin/cithak-win ./cithak.js",