Skip to content

Commit

Permalink
Prepare app to create package
Browse files Browse the repository at this point in the history
  • Loading branch information
evuz committed Jun 8, 2017
1 parent 90a6981 commit f37f3b8
Show file tree
Hide file tree
Showing 3 changed files with 317 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ npm-debug.log

dist/bundle.js
dist/bundle.js.map
tmp
tmp
builds
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"name": "electron-react",
"version": "1.0.0",
"description": "",
"main": "index.js",
"main": "dist/main.js",
"dependencies": {
"cbr": "^1.0.3",
"electron-packager": "^8.7.1",
"extract-zip": "^1.6.0",
"i": "^0.3.5",
"node-unrar": "^0.1.5",
Expand Down Expand Up @@ -34,9 +35,12 @@
"test": "echo \"Error: no test specified\" && exit 1",
"start": "npm-run-all -p -r webpack electron",
"webpack": "webpack --watch",
"electron": "electron ./src/electron/main.js"
"electron": "electron ./dist/main.js",
"build-win": "electron-packager . --overwrite --out builds --platform=win32 --arch=x64 --ignore=src",
"build-linux": "electron-packager . --overwrite --out builds --platform=linux --arch=x64 --ignore=src",
"build-mac": "electron-packager . --overwrite --out builds --platform=darwin --arch=x64 --ignore=src"
},
"keywords": [],
"author": "",
"license": "ISC"
}
}
Loading

0 comments on commit f37f3b8

Please sign in to comment.