dbgate/app/package.json
Jan Prochazka 8131df6a2e v3.7.13
2020-06-21 21:52:02 +02:00

52 lines
1.4 KiB
JSON

{
"name": "dbgate",
"version": "3.7.13",
"private": true,
"author": "Jan Prochazka <jenasoft.database@gmail.com>",
"dependencies": {
"electron-store": "^5.1.1",
"electron-updater": "^4.3.1"
},
"build": {
"appId": "org.dbgate",
"mac": {
"category": "database",
"icon": "icon512.png"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"icon": "icon512.png"
},
"win": {
"target": [
"nsis"
],
"icon": "icon.ico"
},
"files": [
"packages",
"src"
]
},
"homepage": "./",
"scripts": {
"start": "cross-env ELECTRON_START_URL=http://localhost:5000 electron .",
"start:local": "cross-env electron .",
"dist": "electron-builder",
"build": "cd ../packages/api && yarn build && cd ../web && yarn build:app && cd ../../app && yarn dist",
"build:local": "cd ../packages/api && yarn build && cd ../web && yarn build:app && cd ../../app && yarn predist",
"postinstall": "electron-builder install-app-deps",
"predist": "copyfiles ../packages/api/dist/* packages && copyfiles \"../packages/web/build/*\" packages && copyfiles \"../packages/web/build/**/*\" packages"
},
"main": "src/electron.js",
"devDependencies": {
"copyfiles": "^2.2.0",
"cross-env": "^6.0.3",
"electron": "8.1.1",
"electron-builder": "22.4.1"
}
}