mirror of
https://github.com/cpvalente/ontime.git
synced 2026-07-26 10:38:55 +00:00
132 lines
3.6 KiB
JSON
132 lines
3.6 KiB
JSON
{
|
|
"name": "ontime-electron",
|
|
"version": "3.11.1-beta.1",
|
|
"author": "Carlos Valente",
|
|
"description": "Time keeping for live events",
|
|
"repository": "https://github.com/cpvalente/ontime",
|
|
"keywords": [
|
|
"lighdev",
|
|
"ontime",
|
|
"timer"
|
|
],
|
|
"license": "AGPL-3.0-only",
|
|
"main": "src/main.js",
|
|
"devDependencies": {
|
|
"electron": "^31.2.0",
|
|
"electron-builder": "^24.13.3",
|
|
"eslint": "catalog:",
|
|
"eslint-config-prettier": "catalog:",
|
|
"prettier": "catalog:",
|
|
"wait-on": "^7.2.0"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "",
|
|
"lint": "eslint . --quiet",
|
|
"dev": "wait-on http://localhost:3000 && cross-env NODE_ENV=development electron .",
|
|
"dist-win": "electron-builder --publish=never --x64 --win",
|
|
"dist-mac": "electron-builder --publish=never --mac",
|
|
"dist-mac:local": "electron-builder --publish=never --mac -c.mac.identity=null",
|
|
"dist-linux": "electron-builder --publish=never --x64 --linux",
|
|
"cleanup": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
|
|
},
|
|
"build": {
|
|
"productName": "ontime",
|
|
"appId": "no.lightdev.ontime",
|
|
"asar": true,
|
|
"dmg": {
|
|
"artifactName": "ontime-macOS-${arch}.dmg",
|
|
"icon": "icon.icns"
|
|
},
|
|
"mac": {
|
|
"notarize": {
|
|
"teamId": "MDAU6QK6R4"
|
|
},
|
|
"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-uninstall.bmp"
|
|
},
|
|
"linux": {
|
|
"target": "AppImage",
|
|
"artifactName": "ontime-linux.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": [
|
|
"**/*"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|