add support for electron modules

This commit is contained in:
Stewart Allen 2024-06-16 21:48:41 -04:00
commit 4d81932f38
5 changed files with 52 additions and 19 deletions

View file

@ -52,10 +52,10 @@
"node-fetch": "^3.3.2"
},
"scripts": {
"start": "electron .",
"start-dev": "electron . --devel",
"start-dbg": "electron . --debugg",
"start-ddb": "electron . --devel --debugg",
"start": "npm run prebuild && electron .",
"start-dev": "npm run prebuild && electron . --devel",
"start-dbg": "npm run prebuild && electron . --debugg",
"start-ddb": "npm run prebuild && electron . --devel --debugg",
"build": "npm run prebuild && electron-builder",
"build-debug": "npm run prebuild && DEBUG=electron-builder electron-builder",
"build-linux": "npm run build -- --linux --x64",
@ -87,6 +87,13 @@
"**/*"
]
},
{
"from": "tmp/mod",
"to": "mod",
"filter": [
"**/*"
]
},
"bin/*",
"conf/**/*",
"data/**/*",
@ -119,6 +126,7 @@
"entitlements": "bin/electron-entitlements.plist",
"entitlementsInherit": "bin/electron-entitlements.plist",
"target": [
"dmg",
"zip"
]
},