mirror of
https://github.com/zadam/trilium.git
synced 2025-12-05 15:04:24 +01:00
- Manifest V3 configuration with proper permissions - TypeScript + esbuild build system - npm dependencies (Readability, DOMPurify, Cheerio) - Build configuration (IIFE bundling, watch mode) - Shared TypeScript type definitions Foundation for Trilium Web Clipper Manifest V3 migration.
39 lines
996 B
JSON
39 lines
996 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "preserve",
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"types": ["chrome", "node", "webextension-polyfill"],
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"],
|
|
"@/shared/*": ["src/shared/*"],
|
|
"@/background/*": ["src/background/*"],
|
|
"@/content/*": ["src/content/*"],
|
|
"@/popup/*": ["src/popup/*"],
|
|
"@/options/*": ["src/options/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.tsx"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist"
|
|
]
|
|
} |