- local_backend/tests (pytest, 48 tests, <1s): license token verify/evaluate (tamper, other site/key, offline, grace, workday deferral, clock, transition), netinfo detection on fake sysfs (VPN/tunnel/WiFi/link-local), LAN-IP resolver priority + mismatch + staleness + override validation, TLS identity create/restart/renew-same-key/foreign cert (+ openssl pin check) - waiter_pwa/tests (node --test, 7 tests): subnet candidates, scan picks only this venue, early stop, progress - requirements-dev.txt (pytest), npm test, .pytest_cache ignored Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
{
|
|
"name": "waiter_pwa",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview",
|
|
"build:native": "vite build --mode native && cap sync android",
|
|
"apk:debug": "npm run build:native && node scripts/build-apk.mjs debug",
|
|
"apk:release": "npm run build:native && node scripts/build-apk.mjs release",
|
|
"test": "node --test \"tests/*.test.mjs\""
|
|
},
|
|
"dependencies": {
|
|
"@capacitor/android": "^8.5.2",
|
|
"@capacitor/app": "^8.1.1",
|
|
"@capacitor/core": "^8.5.2",
|
|
"@capgo/capacitor-updater": "^8.51.25",
|
|
"@tanstack/react-query": "^5.100.11",
|
|
"axios": "^1.15.1",
|
|
"dexie": "^4.4.2",
|
|
"qr-scanner": "^1.4.2",
|
|
"react": "^19.2.5",
|
|
"react-dom": "^19.2.5",
|
|
"react-router-dom": "^7.14.1",
|
|
"vite-plugin-pwa": "^1.2.0",
|
|
"workbox-window": "^7.4.0",
|
|
"zustand": "^5.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@capacitor/cli": "^8.5.2",
|
|
"@eslint/js": "^9.39.4",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"eslint": "^9.39.4",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"fflate": "^0.8.3",
|
|
"globals": "^17.5.0",
|
|
"vite": "^8.0.9"
|
|
}
|
|
}
|