dbgate/app/package.json
Jan Prochazka b91bf13281 v3.7.7
2020-06-09 20:54:39 +02:00

52 lines
1.4 KiB
JSON

{
"name": "dbgate",
"version": "3.7.7",
"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"
}
}