dbgate/app/package.json
Jan Prochazka 9bc39d5851 v3.8.25
2021-01-07 10:59:25 +01:00

71 lines
1.9 KiB
JSON

{
"name": "dbgate",
"version": "3.8.25",
"private": true,
"author": "Jan Prochazka <jenasoft.database@gmail.com>",
"dependencies": {
"electron-log": "^4.3.1",
"electron-store": "^5.1.1",
"electron-updater": "^4.3.5"
},
"repository": {
"type": "git",
"url": "https://github.com/dbshell/dbgate.git"
},
"build": {
"appId": "org.dbgate",
"mac": {
"category": "database",
"icon": "icon512.png",
"artifactName": "dbgate-mac-${version}.${ext}",
"publish": [
"github"
]
},
"linux": {
"target": [
"AppImage",
"deb"
],
"icon": "icon.png",
"artifactName": "dbgate-linux-${version}.${ext}",
"category": "Development",
"synopsis": "Database administration tool for MS SQL, MySQL and PostgreSQL",
"publish": [
"github"
]
},
"win": {
"target": [
"nsis"
],
"artifactName": "dbgate-windows-${version}.${ext}",
"icon": "icon.ico",
"publish": [
"github"
]
},
"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": "11.1.1",
"electron-builder": "22.9.1"
}
}