57 lines
1.2 KiB
JSON
57 lines
1.2 KiB
JSON
{
|
|
"name": "showy_electron",
|
|
"version": "2.0.0",
|
|
"description": "Showy Desktop App",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"dev": "set ELECTRON_DEV=true && electron .",
|
|
"build-front": "cd ../react_frontend && pnpm build:electron",
|
|
"generate-exe": "electron-builder"
|
|
},
|
|
"portable": true,
|
|
"singleInstance": false,
|
|
"build": {
|
|
"appId": "x4lo.showy",
|
|
"productName": "Showy",
|
|
"files": [
|
|
"main.js",
|
|
"preload.js",
|
|
"frontend_build/**/*",
|
|
"../backend/**/*",
|
|
"!../backend/node_modules/**/*"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "../backend",
|
|
"to": "backend",
|
|
"filter": [
|
|
"**/*",
|
|
"!node_modules/**"
|
|
]
|
|
}
|
|
],
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "dir",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
],
|
|
"icon": "electron/assets/icon.ico"
|
|
},
|
|
"directories": {
|
|
"output": "../dist/electron",
|
|
"buildResources": "assets"
|
|
}
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"electron": "^34.0.1",
|
|
"electron-builder": "^25.1.8"
|
|
}
|
|
} |