From e005add7d9ccf7a1c8ebc6e2509515a599fbb728 Mon Sep 17 00:00:00 2001 From: D3473R Date: Sat, 23 Nov 2019 00:01:24 +0100 Subject: [PATCH] Prevent double zipping --- src/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/package.json b/src/package.json index 4995424..9d14c9c 100644 --- a/src/package.json +++ b/src/package.json @@ -12,8 +12,8 @@ "docker-watch": "docker-compose up -d && node node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", "production": "NODE_ENV=production node node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js && npm run zip", "zip": "run-script-os", - "zip:win32": "cd .. && 7z a -r -x!.git -x!src liebling.zip *", - "zip:default": "cd .. && zip -r liebling.zip ./* -x './src/*'" + "zip:win32": "cd .. && 7z a -r -x!.git -x!src -x!liebling.zip liebling.zip *", + "zip:default": "cd .. && zip -r liebling.zip ./* -x '.git' -x './src' -x 'liebling.zip'" }, "keywords": [], "author": "",