mirror of
https://github.com/Pandipipas/scoreko-electron-dev.git
synced 2026-06-06 05:32:06 +00:00
feat: make standalone default with electron node22 runtime
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"name": "scoreko-electron-dev",
|
||||
"version": "0.1.0",
|
||||
"description": "Electron wrapper to run a NodeCG install with the scoreko-dev bundle",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"main": "dist/main/main.js",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist release",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"build": "npm run clean && tsc -p tsconfig.json && node scripts/copy-assets.mjs",
|
||||
"start": "npm run build && electron .",
|
||||
"dev": "concurrently -k \"npm:watch\" \"npm:dev:electron\"",
|
||||
"watch": "tsc -p tsconfig.json --watch",
|
||||
"dev:electron": "wait-on dist/main/main.js && electron .",
|
||||
"pack": "npm run build && electron-builder --dir",
|
||||
"dist": "npm run build && electron-builder"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.scoreko.desktop",
|
||||
"productName": "Scoreko",
|
||||
"directories": {
|
||||
"output": "release",
|
||||
"buildResources": "static"
|
||||
},
|
||||
"files": [
|
||||
"dist/**",
|
||||
"package.json"
|
||||
],
|
||||
"extraResources": [
|
||||
{
|
||||
"from": "lib/nodecg",
|
||||
"to": "lib/nodecg"
|
||||
},
|
||||
{
|
||||
"from": "static",
|
||||
"to": "static"
|
||||
}
|
||||
],
|
||||
"mac": {
|
||||
"target": [
|
||||
"dmg"
|
||||
]
|
||||
},
|
||||
"linux": {
|
||||
"target": [
|
||||
"AppImage"
|
||||
]
|
||||
},
|
||||
"win": {
|
||||
"target": [
|
||||
"nsis"
|
||||
]
|
||||
}
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22"
|
||||
},
|
||||
"dependencies": {
|
||||
"source-map-support": "^0.5.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.10.5",
|
||||
"concurrently": "^9.1.2",
|
||||
"electron": "^35.7.5",
|
||||
"electron-builder": "^25.1.8",
|
||||
"rimraf": "^6.0.1",
|
||||
"typescript": "^5.7.3",
|
||||
"wait-on": "^8.0.1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user