Skip to content

Commit

Permalink
Update building
Browse files Browse the repository at this point in the history
  • Loading branch information
pol-chen committed Oct 9, 2016
1 parent 24c9ac2 commit 1ea3d63
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions package.json
Expand Up @@ -8,7 +8,7 @@
"clean": "rm -rf ./dist",
"build": "rm -rf ./app/built && webpack -p --config webpack.config.production.js",
"pack": "npm run build && npm run clean && build --dir",
"dist": "npm run build && npm run clean && build"
"dist": "npm run build && npm run clean && build --mac --linux deb tar.xz --win --x64"
},
"devDependencies": {
"babel-core": "^6.7.2",
Expand All @@ -19,7 +19,7 @@
"css-loader": "^0.25.0",
"devtron": "^1.3.0",
"electron": "^1.4.0",
"electron-builder": "^6.7.6",
"electron-builder": "^6.7.7",
"electron-devtools-installer": "^2.0.1",
"electron-rebuild": "^1.1.3",
"file-loader": "^0.9.0",
Expand All @@ -40,12 +40,22 @@
"appId": "com.PolarisChen.PieceForMac",
"build.mac.category": "public.app-category.productivity",
"win": {
"iconUrl": ""
"iconUrl": "https://raw.githubusercontent.com/PolarisChen/Piece/master/build/icon.png"
},
"dmg": {
"contents": [
{ "x": 382, "y": 220, "type": "link", "path": "/Applications" },
{ "x": 130, "y": 220, "type": "file", "path": "" }
{
"x": 382,
"y": 220,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 220,
"type": "file",
"path": ""
}
]
}
}
Expand Down

0 comments on commit 1ea3d63

Please sign in to comment.