Skip to content

Commit 67363ab

Browse files
committed
Add basic electron-package build
1 parent d98543e commit 67363ab

File tree

3 files changed

+331
-23
lines changed

3 files changed

+331
-23
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="UTF-8">
5-
<title>Hello World!</title>
5+
<title>BPJS Electron</title>
66

77
<link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css">
88
<link rel="stylesheet" href="node_modules/bulma/css/bulma.css">

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"lint": "eslint **/*.js",
1313
"inspect-main": "electron-inspector",
1414
"build": "rollup -c",
15+
"package": "electron-packager . bpjs-electron --no-prune --platform=darwin --arch=x64",
1516
"test": "NODE_ENV=test mocha"
1617
},
1718
"devDependencies": {
@@ -20,6 +21,7 @@
2021
"babel-preset-react": "^6.23.0",
2122
"babel-register": "^6.24.0",
2223
"electron": "^1.6.2",
24+
"electron-packager": "^8.7.2",
2325
"eslint": "^3.19.0",
2426
"eslint-config-airbnb": "^14.1.0",
2527
"eslint-config-prettier": "^1.5.0",

0 commit comments

Comments
 (0)