mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-02-20 00:33:07 +01:00
63 lines
1.6 KiB
JSON
63 lines
1.6 KiB
JSON
{
|
|
"name": "connect-example-electron-main",
|
|
"version": "1.0.0",
|
|
"description": "Example of electron app with @trezor/connect",
|
|
"main": "src/electron.js",
|
|
"author": "Satoshilabs s.r.o <info@satoshilabs.com>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "electron .",
|
|
"build:mac": "electron-builder --mac",
|
|
"build:linux": "electron-builder --linux",
|
|
"build:win": "electron-builder --win"
|
|
},
|
|
"build": {
|
|
"appId": "${name}",
|
|
"productName": "TrezorConnectExample",
|
|
"copyright": "Copyright © year ${author}",
|
|
"asar": false,
|
|
"directories": {
|
|
"output": "build-electron"
|
|
},
|
|
"files": [
|
|
"src/*.js",
|
|
"src/index.html",
|
|
"package.json"
|
|
],
|
|
"dmg": {
|
|
"contents": [
|
|
{
|
|
"x": 410,
|
|
"y": 150,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
},
|
|
{
|
|
"x": 130,
|
|
"y": 150,
|
|
"type": "file"
|
|
}
|
|
]
|
|
},
|
|
"mac": {
|
|
"target": "zip"
|
|
},
|
|
"linux": {
|
|
"executableName": "TrezorConnectExample",
|
|
"artifactName": "TrezorConnectExample.${ext}",
|
|
"target": "AppImage"
|
|
},
|
|
"win": {
|
|
"target": "portable"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@trezor/connect": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@trezor/eslint": "workspace:*",
|
|
"electron": "39.2.7",
|
|
"electron-builder": "26.4.1"
|
|
}
|
|
}
|