Files
ontime/apps/electron/package.json
T
2026-02-16 06:58:08 +01:00

136 lines
3.5 KiB
JSON

{
"name": "ontime-electron",
"version": "4.4.2",
"author": "Carlos Valente",
"description": "Time keeping for live events",
"repository": "https://github.com/cpvalente/ontime",
"keywords": [
"ontime",
"timer",
"stage timer",
"rundown"
],
"license": "AGPL-3.0-only",
"main": "src/main.js",
"devDependencies": {
"electron": "38.2.1",
"electron-builder": "26.0.18",
"eslint": "catalog:",
"eslint-config-prettier": "catalog:",
"prettier": "catalog:",
"wait-on": "^7.2.0"
},
"scripts": {
"dev:electron": "wait-on http://localhost:3000 && cross-env NODE_ENV=development electron .",
"lint": "eslint . --quiet",
"dist-win": "electron-builder --publish=never --x64 --win",
"dist-mac": "electron-builder --publish=never --mac",
"dist-linux": "electron-builder --publish=never --linux"
},
"build": {
"productName": "ontime",
"appId": "no.lightdev.ontime",
"asar": true,
"dmg": {
"artifactName": "ontime-macOS-${arch}.dmg",
"icon": "icon.icns"
},
"mac": {
"notarize": true,
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "./entitlements.plist",
"entitlementsInherit": "./entitlements.plist",
"target": {
"target": "dmg",
"arch": [
"x64",
"arm64"
]
},
"category": "public.app-category.productivity",
"icon": "icon.icns"
},
"win": {
"target": "nsis"
},
"nsis": {
"artifactName": "ontime-win64.exe",
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"allowElevation": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"deleteAppDataOnUninstall": true,
"runAfterFinish": false,
"installerIcon": "icon.ico",
"installerSidebar": "ontime-install.bmp",
"uninstallerSidebar": "ontime-install.bmp"
},
"linux": {
"target": {
"target": "AppImage",
"arch": [
"x64",
"arm64",
"armv7l"
]
},
"artifactName": "ontime-linux-${arch}.AppImage"
},
"files": [
"**/*",
"src/assets/",
"!**/{yarn.lock,yarn-error.log}",
"!**/{pnpm-lock.yaml}",
"!**/{test,tests,__test__,__tests__}",
"!**/{mock,mocks,__mock__,__mocks__}",
"!*{.spec.js,*.test.js,*.spec.ts,.test.ts}"
],
"directories": {
"buildResources": "./src/assets/"
},
"extraResources": [
{
"from": "../client/build",
"to": "extraResources/client/",
"filter": [
"**/*",
"!**/{yarn.lock,yarn-error.log}",
"!**/{pnpm-lock.yaml}",
"!**/{test,tests,__test__,__tests__}",
"!**/{mock,mocks,__mock__,__mocks__}",
"!*{.spec.js,*.test.js,*.spec.ts,.test.ts}"
]
},
{
"from": "../server/dist/",
"to": "extraResources/server/",
"filter": [
"**/*",
"!**/{yarn.lock,yarn-error.log}",
"!**/{pnpm-lock.yaml}",
"!**/{test,tests,__test__,__tests__}",
"!**/{mock,mocks,__mock__,__mocks__}",
"!*{.spec.js,*.test.js,*.spec.ts,.test.ts}"
]
},
{
"from": "../server/src/external/",
"to": "extraResources/external/",
"filter": [
"**/*"
]
},
{
"from": "../server/src/user/",
"to": "extraResources/user/",
"filter": [
"**/*",
"*{.ts}"
]
}
]
}
}