mirror of
https://github.com/dolanmiu/docx.git
synced 2026-11-30 16:47:55 +01:00
43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"verbatimModuleSyntax": true,
|
|
|
|
"strictNullChecks": true,
|
|
"sourceMap": true,
|
|
"removeComments": true,
|
|
"preserveConstEnums": true,
|
|
"outDir": "./build",
|
|
"rootDir": "./src",
|
|
"declaration": true,
|
|
"esModuleInterop": true,
|
|
"paths": {
|
|
"@util/*": ["./src/util/*"],
|
|
"@export/*": ["./src/export/*"],
|
|
"@file/*": ["./src/file/*"],
|
|
"@shared": ["./src/shared/index.ts"],
|
|
"tests/*": ["./src/tests/*"],
|
|
"docx": ["./src/index.ts"],
|
|
"docx/math": ["./src/math/index.ts"]
|
|
}
|
|
},
|
|
"include": ["src"]
|
|
}
|