mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "dbgate",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"author": "Jan Prochazka <jenasoft.database@gmail.com>",
|
|
"dependencies": {
|
|
"electron-store": "^5.1.1"
|
|
},
|
|
"build": {
|
|
"appId": "com.jenasoft.dbgate",
|
|
"mac": {
|
|
"category": "database"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"AppImage"
|
|
]
|
|
},
|
|
"win": {
|
|
"target": "nsis"
|
|
},
|
|
"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"
|
|
}
|
|
}
|