From 50994c424c3a1f7d695c61974b09b86a06f8602c Mon Sep 17 00:00:00 2001 From: Tony Date: Mon, 12 Aug 2024 23:02:55 +0800 Subject: [PATCH] Should be prepublishOnly --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d9bcc03..d9101f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docusaurus-plugin-native-ideal-image", - "version": "0.0.2", + "version": "0.0.3", "description": "Pre-process images to multiple formats and low quality image placeholders", "keywords": ["docusaurus"], "author": "Tony", @@ -20,7 +20,7 @@ "watch": "tsc -p ./src --watch", "copy-css": "node scripts/copy-css.js", "clean-lib-folder": "node scripts/clean-lib-folder.js", - "publish": "npm run clean-lib-folder && npm run build && npm publish" + "prepublishOnly": "npm run clean-lib-folder && npm run build" }, "devDependencies": { "@types/loader-utils": "^2.0.6",