63 lines
1.4 KiB
JSON
63 lines
1.4 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Language and Environment */
|
|
"target": "ES2020",
|
|
"lib": ["ES2020", "DOM"],
|
|
|
|
/* Modules */
|
|
"module": "ES2020",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
|
|
/* Emit */
|
|
"outDir": "./dist",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"removeComments": false,
|
|
|
|
/* Interop Constraints */
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
|
|
/* Type Checking - STRICT MODE */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
|
|
/* Completeness */
|
|
"skipLibCheck": true,
|
|
|
|
/* Path Mapping */
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"]
|
|
},
|
|
|
|
/* Browser Extension Types */
|
|
"types": ["firefox-webext-browser", "vitest/globals"]
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"vite.config.ts",
|
|
"vite.content.config.ts",
|
|
"vite.content-chrome.config.ts",
|
|
"vite.content-firefox.config.ts",
|
|
"eslint.config.js"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"src/**/*.js",
|
|
"src/chrome/scripts/**/*",
|
|
"src/firefox/scripts/**/*"
|
|
]
|
|
}
|