From 6c9352ccce5c9094391fe08c1d6883ed74746fa9 Mon Sep 17 00:00:00 2001 From: htrinter Date: Mon, 27 Nov 2023 18:50:07 +0100 Subject: [PATCH] fix package command --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 47cd747..900931f 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "build:chrome": "export TARGET=chrome && run-p type-check \"build {@}\" --", "build:firefox": "export TARGET=firefox && run-p type-check \"build {@}\" --", "build:all": "npm run build:chrome && npm run build:firefox", - "package:chrome": "mkdir -p dist-package && zip -FSrj dist-package/open-multiple-urls-$npm_package_version-chrome.zip dist-chrome", - "package:firefox": "mkdir -p dist-package && zip -FSrj dist-package/open-multiple-urls-$npm_package_version-firefox.zip dist-firefox", + "package:chrome": "mkdir -p dist-package && cd dist-chrome && zip -FSr ../dist-package/open-multiple-urls-$npm_package_version-chrome.zip .", + "package:firefox": "mkdir -p dist-package && cd dist-firefox && zip -FSr ../dist-package/open-multiple-urls-$npm_package_version-firefox.zip .", "package:all": "npm run package:chrome && npm run package:firefox", "dev:chrome": "export TARGET=chrome && run-p type-check \"watch {@}\" --", "dev:firefox": "export TARGET=firefox && run-p type-check \"watch {@}\" --",