Modified PR to support multiple platforms
This commit is contained in:
parent
4f3424d060
commit
478bc22716
|
@ -11,7 +11,9 @@
|
||||||
"hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
|
"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 node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
"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",
|
"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": "cd .. && 7z a -r -x!.git -x!src liebling.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/*'"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
@ -23,6 +25,7 @@
|
||||||
"ghost-cli": "^1.11.0",
|
"ghost-cli": "^1.11.0",
|
||||||
"laravel-mix": "^4.0.0-beta.2",
|
"laravel-mix": "^4.0.0-beta.2",
|
||||||
"resolve-url-loader": "3.1.0",
|
"resolve-url-loader": "3.1.0",
|
||||||
|
"run-script-os": "^1.0.7",
|
||||||
"sass": "^1.22.9",
|
"sass": "^1.22.9",
|
||||||
"sass-loader": "7.*",
|
"sass-loader": "7.*",
|
||||||
"vue-template-compiler": "^2.6.10"
|
"vue-template-compiler": "^2.6.10"
|
||||||
|
|
Loading…
Reference in a new issue