Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
lmelbye committed Jun 5, 2019
1 parent 6c05915 commit 3f1b4fd
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 32 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ compile_commands.json
.envrc
release-builds
Squirrel.exe
config.json

# npm package
/npm/dist
Expand Down
10 changes: 0 additions & 10 deletions config.json

This file was deleted.

58 changes: 36 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,52 @@
"description": "A electron app for connecting printers to ServicePOS",
"main": "main.js",
"scripts": {
"dev": "cross-env NODE_ENV=development electron .",
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make"
"make": "electron-forge make",
"publish": "build --win -p always",
"pack": "build --win --dir",
"dist": "build"
},
"repository": "https://github.com/servicepos/printdesk",
"build": {
"appId": "com.test.id",
"asarUnpack": [
"**/assets/"
]
"appId": "com.servicepos.printdesk",
"mac": {
"category": "public.app-category.developer-tools"
},
"win": {
"icon": "icons/icon.ico",
"target": [
"squirrel"
]
},
"squirrelWindows": {
"iconUrl": "https://raw.githubusercontent.com/matiastucci/electron-auto-updater-example/master/icons/icon.ico"
},
"linux": {
"target": [
"deb"
]
},
"publish": [{
"provider": "github",
"owner": "servicepos",
"repo": "printdesk"
}]
},
"author": "GitHub",
"postinstall": "electron-builder install-app-deps",
"author": "ServicePOS",
"license": "CC0-1.0",
"devDependencies": {
"@electron-forge/cli": "6.0.0-beta.39",
"@electron-forge/maker-deb": "6.0.0-beta.39",
"@electron-forge/maker-rpm": "6.0.0-beta.39",
"@electron-forge/maker-squirrel": "^6.0.0-beta.39",
"@electron-forge/maker-zip": "6.0.0-beta.39",
"cross-env": "^5.2.0",
"electron": "^5.0.1",
"electron-reloader": "^0.3.0"
"electron-reloader": "^0.3.0",
"electron-builder": "^20.43.0",
"electron-builder-squirrel-windows": "^20.43.0",
"electron-installer-squirrel-windows": "^1.3.0"
},
"dependencies": {
"@electron-forge/maker-dmg": "^6.0.0-beta.39",
"@electron-forge/publisher-github": "^6.0.0-beta.39",
"auto-launch": "^5.0.5",
"aws-iot-device-sdk": "^2.2.1",
"child_process": "^1.0.2",
Expand All @@ -47,14 +68,7 @@
"packagerConfig": {},
"publishers": [
{
"name": "@electron-forge/publisher-github",
"config": {
"repository": {
"owner": "servicepos",
"name": "printdesk"
},
"prerelease": true
}
"name": "@electron-forge/publisher-github"
}
],
"makers": [
Expand Down

0 comments on commit 3f1b4fd

Please sign in to comment.