mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
bb870ec90f
Credits to @AulonSal that suggested reviewing https://github.com/sindresorhus/caprine/pull/1420 Fix #115
107 lines
2.8 KiB
JSON
107 lines
2.8 KiB
JSON
{
|
|
"name": "dbgate",
|
|
"version": "4.1.1",
|
|
"private": true,
|
|
"author": "Jan Prochazka <jenasoft.database@gmail.com>",
|
|
"description": "Opensource database administration tool",
|
|
"dependencies": {
|
|
"better-sqlite3-with-prebuilds": "^7.1.8",
|
|
"electron-log": "^4.3.1",
|
|
"electron-store": "^5.1.1",
|
|
"electron-updater": "^4.3.5",
|
|
"patch-package": "^6.4.7"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/dbgate/dbgate.git"
|
|
},
|
|
"build": {
|
|
"artifactName": "${productName}-${version}-${os}_${arch}.${ext}",
|
|
"appId": "org.dbgate",
|
|
"mac": {
|
|
"category": "database",
|
|
"icon": "icon512.png",
|
|
"publish": [
|
|
"github"
|
|
],
|
|
"target": {
|
|
"target": "default",
|
|
"arch": [
|
|
"arm64",
|
|
"x64"
|
|
]
|
|
}
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"deb",
|
|
"snap",
|
|
{
|
|
"target": "AppImage",
|
|
"arch": [
|
|
"x64",
|
|
"armv7l",
|
|
"arm64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "icons/",
|
|
"category": "Development",
|
|
"synopsis": "Database manager for SQL Server, MySQL, PostgreSQL, MongoDB and SQLite",
|
|
"publish": [
|
|
"github"
|
|
]
|
|
},
|
|
"appImage": {
|
|
"license": "./LICENSE",
|
|
"category": "Development"
|
|
},
|
|
"snap": {
|
|
"publish": [
|
|
"github",
|
|
"snapStore"
|
|
],
|
|
"environment": {
|
|
"ELECTRON_SNAP": "true"
|
|
}
|
|
},
|
|
"win": {
|
|
"target": [
|
|
"nsis",
|
|
"zip"
|
|
],
|
|
"icon": "icon.ico",
|
|
"publish": [
|
|
"github"
|
|
],
|
|
"rfc3161TimeStampServer": "http://sha256timestamp.ws.symantec.com/sha256/timestamp"
|
|
},
|
|
"files": [
|
|
"packages",
|
|
"src",
|
|
"icon.png"
|
|
]
|
|
},
|
|
"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 && cd ../../app && yarn dist",
|
|
"build:mac": "cd ../packages/api && yarn build && cd ../web && yarn build && cd ../../app && node setMacPlatform x64 && yarn dist && node setMacPlatform arm64 && yarn dist",
|
|
"build:local": "cd ../packages/api && yarn build && cd ../web && yarn build && cd ../../app && yarn predist",
|
|
"postinstall": "electron-builder install-app-deps && patch-package",
|
|
"predist": "copyfiles ../packages/api/dist/* packages && copyfiles \"../packages/web/public/*\" packages && copyfiles \"../packages/web/public/**/*\" packages && copyfiles --up 3 \"../plugins/dist/**/*\" packages/plugins"
|
|
},
|
|
"main": "src/electron.js",
|
|
"devDependencies": {
|
|
"copyfiles": "^2.2.0",
|
|
"cross-env": "^6.0.3",
|
|
"electron": "11.2.3",
|
|
"electron-builder": "22.10.5"
|
|
},
|
|
"optionalDependencies": {
|
|
"msnodesqlv8": "^2.0.10"
|
|
}
|
|
}
|