diff --git a/src/package-lock.json b/src/package-lock.json index 70c0d91..08cec3c 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -11476,6 +11476,12 @@ "aproba": "^1.1.1" } }, + "run-script-os": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/run-script-os/-/run-script-os-1.0.7.tgz", + "integrity": "sha512-H4NAhP9PiseQQm3Vpen7CHksfKGqC4dmwoVu/9th97r3XyBrMtkg4jIUiy/8dgzuI9MGwmK/7vf13Wncx+Y4bw==", + "dev": true + }, "rx": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/rx/-/rx-4.1.0.tgz", diff --git a/src/package.json b/src/package.json index 7f21271..c2c0113 100644 --- a/src/package.json +++ b/src/package.json @@ -11,7 +11,9 @@ "hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", "docker-watch": "docker-compose up -d && node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", "production": "NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js && npm run zip", - "zip": "cd .. && zip -r liebling.zip ./* -x './src/*'" + "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/*'" }, "keywords": [], "author": "", @@ -22,6 +24,7 @@ "ghost-cli": "^1.11.0", "laravel-mix": "^4.0.0-beta.2", "resolve-url-loader": "3.1.0", + "run-script-os": "^1.0.7", "sass": "^1.22.9", "sass-loader": "7.*", "vue-template-compiler": "^2.6.10"