Add Windows development support

This commit is contained in:
Eduardo Gomez 2019-10-07 17:05:59 +02:00
parent 0234961b8e
commit 2136c2e97e
2 changed files with 10 additions and 1 deletions

6
src/package-lock.json generated
View file

@ -11476,6 +11476,12 @@
"aproba": "^1.1.1" "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": { "rx": {
"version": "4.1.0", "version": "4.1.0",
"resolved": "https://registry.npmjs.org/rx/-/rx-4.1.0.tgz", "resolved": "https://registry.npmjs.org/rx/-/rx-4.1.0.tgz",

View file

@ -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_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_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", "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": [], "keywords": [],
"author": "", "author": "",
@ -22,6 +24,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"