Skip to content

Commit

Permalink
fix packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
hardchor committed Aug 30, 2017
1 parent d406ede commit e1c460e
Show file tree
Hide file tree
Showing 3 changed files with 512 additions and 699 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ yarn dev
To package the app for local testing, run:

```bash
yarn build
yarn pack
yarn dist
```

### Release
Expand Down
38 changes: 17 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
"dev": "concurrently --kill-others \"yarn hot-server\" \"yarn start-hot\"",
"webfont:roboto": "webfont-dl \"https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en\" -o app/renderer/assets/css/fonts/roboto.global.css --woff1=data --svg=omit --ttf=omit --eot=omit",
"webfont:material-icons": "webfont-dl \"https://fonts.googleapis.com/icon?family=Material+Icons\" -o app/renderer/assets/css/fonts/material-icons.global.css --woff1=data --svg=omit --ttf=omit --eot=omit",
"postinstall": "cd app/ && yarn",
"pack": "yarn build && ./node_modules/.bin/build",
"dist": "yarn build && ./node_modules/.bin/build",
"postinstall": "electron-builder install-app-deps && cd app/ && yarn",
"dist": "yarn build && electron-builder",
"release": "yarn build && ./node_modules/.bin/build"
},
"bin": {
Expand All @@ -35,12 +34,7 @@
"bugs": {
"url": "https://github.com/hardchor/timesheets/issues"
},
"keywords": [
"timesheet",
"time",
"tracking",
"electron"
],
"keywords": ["timesheet", "time", "tracking", "electron"],
"homepage": "https://github.com/hardchor/timesheets#readme",
"dependencies": {
"asar": "^0.12.2",
Expand All @@ -61,7 +55,6 @@
"cross-env": "^2.0.0",
"css-loader": "^0.24.0",
"del": "^2.2.2",
"electron-rebuild": "^1.1.3",
"eslint": "^3.4.0",
"eslint-config-airbnb": "^10.0.1",
"eslint-plugin-import": "^1.14.0",
Expand Down Expand Up @@ -89,35 +82,38 @@
},
"devDependencies": {
"electron": "^1.4.6",
"electron-builder": "^6.0.2"
"electron-builder": "^19.26.3",
"electron-rebuild": "^1.1.3"
},
"devEngines": {
"node": "^8.4.0"
},
"contributors": [
"Jack Wilkinson (https://github.com/guacjack)"
],
"contributors": ["Jack Wilkinson (https://github.com/guacjack)"],
"build": {
"appId": "hardchor.timesheets",
"category": "public.app-category.productivity",
"productName": "Timesheets",
"compression": "normal",
"asar": true,
"mac": {
"category": "public.app-category.productivity"
},
"dmg": {
"contents": [
{
"x": 192,
"y": 344
},
{
"x": 448,
"y": 344,
"type": "link",
"path": "/Applications"
},
{
"x": 192,
"y": 344,
"type": "file",
"path": "Timesheets.app"
}
]
},
"directories": {
"app": "dist",
"output": "release"
}
},
"directories": {
Expand Down
Loading

0 comments on commit e1c460e

Please sign in to comment.