Skip to content

Commit

Permalink
feat: add publish config
Browse files Browse the repository at this point in the history
  • Loading branch information
kungfuboy committed May 18, 2022
1 parent 0e90ddd commit 1f4b50f
Showing 1 changed file with 34 additions and 5 deletions.
39 changes: 34 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
"electron:serve": "wait-on tcp:4200 && npm run electron:dev",
"electron:dev:static": "npm run electron:tsc && electron .",
"electron:dev": "npm run electron:tsc && electron . --development",
"electron:build": "npm-run-all -p build:* && npm run electron:tsc && electron-builder build",
"build": "electron-builder build",
"release": "electron-builder",
"build": "npm-run-all -p build:* && npm run electron:tsc && electron-builder build",
"release": "npm run build && electron-builder --publish=always",
"test": "npm-run-all --serial test:*",
"electron:tsc": "tsc -p tsconfig.json"
},
Expand Down Expand Up @@ -60,5 +59,35 @@
"typescript": "~4.6.2",
"wait-on": "6.0.1"
},
"__npminstall_done": false
}
"__npminstall_done": false,
"build": {
"appId": "com.foo.bar",
"productName": "Foo Bar",
"copyright": "Copyright © 2022 eolink",
"directories": {
"output": "release"
},
"files": [
"dist/",
"index.html",
"main.js",
"package.json"
],
"mac": {
"category": "public.app-category.utilities",
"icon": "resources/app.icns",
"artifactName": "eoapi_mac_${version}.${ext}",
"target": [
"dmg",
"zip"
]
},
"publish": [
{
"provider": "github",
"owner": "eolinker",
"repo": "eoapi"
}
]
}
}

0 comments on commit 1f4b50f

Please sign in to comment.