Skip to content

Commit

Permalink
fix: yarn build - did not build as || was used instead of &&
Browse files Browse the repository at this point in the history
fix: yarn postpackage added --overwrite option
feature: build-win and build-win for building all on mac
  • Loading branch information
olzzon committed Jun 24, 2019
1 parent 4cf207f commit 48930e8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@
"scripts": {
"prod": "webpack --mode production --config webpack.build.config.js && electron --noDevServer .",
"start": "webpack-dev-server --hot --host 0.0.0.0 --config=./webpack.dev.config.js --mode development",
"build": "yarn tsc || webpack --config webpack.build.config.js --mode production",
"build": "yarn tsc && webpack --config webpack.build.config.js --mode production",
"build-now": "webpack --config webpack.build.config.js --mode production",
"package": "yarn run build",
"postpackage": "electron-packager ./ --out=./builds"
"postpackage": "electron-packager ./ --out=./builds --overwrite",
"package-linux": "electron-packager . sisyfos-audio-controller --overwrite --asar=true --platform=linux --arch=x64 --icon=assets/icons/png/1024x1024.png --prune=true --out=release-builds",
"package-win": "electron-packager . sisyfos-audio-controller --overwrite --asar=true --platform=win32 --arch=x64 --icon=assets/icons/png/1024x1024.png --prune=true --out=release-builds"

},
"dependencies": {
"@types/hoist-non-react-statics": "^3.3.1",
Expand Down

0 comments on commit 48930e8

Please sign in to comment.