mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-04 23:18:01 +00:00
84459b06e2
This commit fixes an issue where the PWA would always start at the root of the application, regardless of the page you were on when you installed it. This is fixed by: - Consolidating the two manifest files into a single file. - Adding a new route to the server that dynamically generates the `start_url` in the manifest based on the current route. - Adding an e2e test to verify the changes.
59 lines
2.0 KiB
JSON
59 lines
2.0 KiB
JSON
{
|
|
"name": "ontime",
|
|
"version": "4.0.0-alpha.0",
|
|
"description": "Time keeping for live events",
|
|
"keywords": [
|
|
"ontime",
|
|
"timer",
|
|
"rundown"
|
|
],
|
|
"author": "Carlos Valente",
|
|
"homepage": "https://www.getontime.no/",
|
|
"repository": "https://github.com/cpvalente/ontime",
|
|
"bugs": {
|
|
"url": "https://github.com/cpvalente/ontime/issues",
|
|
"email": "mail@getontime.no"
|
|
},
|
|
"license": "AGPL-3.0-only",
|
|
"engines": {
|
|
"node": "~22",
|
|
"pnpm": "~10"
|
|
},
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "turbo run dev",
|
|
"dev:electron": "turbo run dev --filter=ontime",
|
|
"dev:server": "turbo run dev --filter=ontime-server",
|
|
"lint": "turbo run lint",
|
|
"build": "turbo run build",
|
|
"build:local": "turbo run build:local",
|
|
"build:electron": "turbo run build:electron",
|
|
"build:localdocker": "turbo run build:localdocker",
|
|
"dist-win": "turbo run dist-win",
|
|
"dist-mac": "turbo run dist-mac",
|
|
"dist-linux": "turbo run dist-linux",
|
|
"e2e": "pnpm clear-temp && cross-env DEBUG=pw:webserver npx playwright test -c playwright.config.ts",
|
|
"e2e:ui": "cross-env DEBUG=pw:webserver npx playwright test --ui -c playwright.config.ts",
|
|
"e2e:i": "npx playwright codegen",
|
|
"cleanup": "rm -rf node_modules && rm -rf **/node_modules && rm -rf **/**/node_modules",
|
|
"clear-temp": "rm -rf e2e/tests/fixtures/tmp"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.51.1",
|
|
"@types/node": "catalog:",
|
|
"@typescript-eslint/eslint-plugin": "catalog:",
|
|
"@typescript-eslint/parser": "catalog:",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "catalog:",
|
|
"eslint-config-prettier": "catalog:",
|
|
"eslint-plugin-playwright": "^1.5.2",
|
|
"prettier": "catalog:",
|
|
"turbo": "^2.3.3",
|
|
"typescript": "catalog:"
|
|
},
|
|
"packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977",
|
|
"dependencies": {
|
|
"tsx": "^4.20.3"
|
|
}
|
|
}
|