Skip to content

Commit

Permalink
📝 update build
Browse files Browse the repository at this point in the history
  • Loading branch information
ntduan committed Apr 17, 2018
1 parent 1b7cc83 commit e274998
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
"build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js",
"dev": "node .electron-vue/dev-runner.js",
"pack": "npm run pack:main && npm run pack:renderer",
"pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js",
"pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
"pack:main":
"cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js",
"pack:renderer":
"cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
"postinstall": ""
},
"build": {
Expand All @@ -25,9 +27,7 @@
"directories": {
"output": "build"
},
"files": [
"dist/electron/**/*"
],
"files": ["dist/electron/**/*"],
"dmg": {
"contents": [
{
Expand All @@ -48,10 +48,7 @@
},
"win": {
"icon": "build/icons/icon.ico",
"target": [
"nsis",
"portable"
]
"target": ["portable"]
},
"linux": {
"icon": "build/icons"
Expand Down

0 comments on commit e274998

Please sign in to comment.