mirror of
https://github.com/stashapp/stash.git
synced 2025-12-15 21:03:22 +01:00
* add WakeLockSentinel prevents screen from sleeping ONLY in secure contexts (localhost, https) closes #2884 * format, add types * [wake-sentinel] add more releases, comments release wakelock on dispose and end, call out secure contexts in error message
25 lines
676 B
JSON
25 lines
676 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2019",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"module": "es2020",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
"experimentalDecorators": true,
|
|
"baseUrl": ".",
|
|
"sourceMap": true,
|
|
"allowJs": true,
|
|
"isolatedModules": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"useDefineForClassFields": true,
|
|
"types": ["vite/client", "dom-screen-wake-lock"]
|
|
},
|
|
"include": ["src"]
|
|
}
|