dbgate/app/package.json

113 lines
2.9 KiB
JSON
Raw Normal View History

2019-12-26 19:08:51 +00:00
{
2020-03-14 08:54:34 +00:00
"name": "dbgate",
2021-04-17 07:24:46 +00:00
"version": "4.1.1",
2021-02-01 18:07:46 +00:00
"private": true,
2020-03-14 08:54:34 +00:00
"author": "Jan Prochazka <jenasoft.database@gmail.com>",
2021-01-19 19:43:15 +00:00
"description": "Opensource database administration tool",
2020-04-10 20:01:00 +00:00
"dependencies": {
2021-05-13 06:41:45 +00:00
"better-sqlite3-with-prebuilds": "^7.1.8",
2021-01-07 08:53:42 +00:00
"electron-log": "^4.3.1",
2020-05-18 17:05:45 +00:00
"electron-store": "^5.1.1",
"electron-updater": "^4.3.5",
"patch-package": "^6.4.7"
2020-04-10 20:01:00 +00:00
},
2021-01-07 07:43:26 +00:00
"repository": {
"type": "git",
2021-02-01 17:09:57 +00:00
"url": "https://github.com/dbgate/dbgate.git"
2021-01-07 07:43:26 +00:00
},
2019-12-26 19:08:51 +00:00
"build": {
2021-05-22 08:29:50 +00:00
"artifactName": "${productName}-${version}-${os}_${arch}.${ext}",
2020-05-18 17:17:57 +00:00
"appId": "org.dbgate",
2019-12-26 19:08:51 +00:00
"mac": {
2020-05-18 18:23:53 +00:00
"category": "database",
2021-01-07 07:33:16 +00:00
"icon": "icon512.png",
2021-01-07 07:33:42 +00:00
"publish": [
"github"
2021-04-23 08:25:18 +00:00
],
"target": {
"target": "default",
2021-05-22 08:36:43 +00:00
"arch": [
"arm64",
"x64"
]
2021-04-23 08:25:18 +00:00
}
2019-12-26 19:29:38 +00:00
},
2020-03-14 08:54:34 +00:00
"linux": {
"target": [
2021-01-19 19:43:15 +00:00
"deb",
2021-05-20 19:53:13 +00:00
"snap",
{
"target": "AppImage",
"arch": [
"x64",
"armv7l",
"arm64"
]
}
2020-05-18 18:23:53 +00:00
],
"icon": "icons/",
2021-01-03 18:28:36 +00:00
"category": "Development",
2021-05-20 08:23:12 +00:00
"synopsis": "Database manager for SQL Server, MySQL, PostgreSQL, MongoDB and SQLite",
2021-01-07 07:33:42 +00:00
"publish": [
"github"
]
2020-03-14 10:45:43 +00:00
},
"appImage": {
"license": "./LICENSE",
"category": "Development"
},
2021-02-13 11:13:10 +00:00
"snap": {
"publish": [
"github",
"snapStore"
],
"environment": {
"ELECTRON_SNAP": "true"
}
},
2020-03-14 08:54:34 +00:00
"win": {
2020-05-18 17:05:45 +00:00
"target": [
2021-09-16 11:03:56 +00:00
"nsis",
2021-09-16 09:19:54 +00:00
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
}
2020-05-18 17:05:45 +00:00
],
2021-01-07 07:33:16 +00:00
"icon": "icon.ico",
2021-01-07 07:33:42 +00:00
"publish": [
"github"
2021-01-12 16:34:46 +00:00
],
"rfc3161TimeStampServer": "http://sha256timestamp.ws.symantec.com/sha256/timestamp"
2020-03-14 10:45:43 +00:00
},
"files": [
"packages",
2021-01-08 19:53:12 +00:00
"src",
"icon.png"
2020-03-14 10:45:43 +00:00
]
2019-12-26 19:08:51 +00:00
},
"homepage": "./",
"scripts": {
"start": "cross-env ELECTRON_START_URL=http://localhost:5000 electron .",
2020-04-10 19:21:57 +00:00
"start:local": "cross-env electron .",
2019-12-26 19:08:51 +00:00
"dist": "electron-builder",
"build": "cd ../packages/api && yarn build && cd ../web && yarn build && cd ../../app && yarn dist",
2021-05-22 08:36:43 +00:00
"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",
2021-04-15 15:41:35 +00:00
"predist": "copyfiles ../packages/api/dist/* packages && copyfiles \"../packages/web/public/*\" packages && copyfiles \"../packages/web/public/**/*\" packages && copyfiles --up 3 \"../plugins/dist/**/*\" packages/plugins"
2019-12-26 19:08:51 +00:00
},
"main": "src/electron.js",
"devDependencies": {
2020-03-14 10:45:43 +00:00
"copyfiles": "^2.2.0",
"cross-env": "^6.0.3",
"electron": "11.2.3",
"electron-builder": "22.10.5"
2021-01-16 20:54:01 +00:00
},
"optionalDependencies": {
2021-10-19 16:58:52 +00:00
"msnodesqlv8": "^2.4.0"
2019-12-26 19:08:51 +00:00
}
}