Skip to content

Commit 5ee49de

Browse files
committed
Working on appveyor build script
1 parent c4863b7 commit 5ee49de

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

appveyor.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
os: unstable
22
cache:
3-
- node_modules
3+
- node_modules -> yarn.lock
44
branches:
55
only:
66
- production
@@ -24,9 +24,5 @@ version: '{build}'
2424
shallow_clone: true
2525
clone_depth: 1
2626
test_script:
27-
- dir
28-
- cd node_modules
29-
- dir
30-
- cd ..
3127
- yarn run production-windows
3228
- yarn run publish

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"watch": "NODE_ENV=development webpack --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
1515
"hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
1616
"production": "NODE_ENV=production webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
17-
"production-windows": "node node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
17+
"production-windows": "node node_modules/cross-env/bin/cross-env.js NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
1818
},
1919
"keywords": [],
2020
"author": "Kris Siepert",

0 commit comments

Comments
 (0)