зеркало из
1
0
Форкнуть 0
static-web-apps-cli/tsconfig.json

40 строки
1.1 KiB
JSON

{
"compilerOptions": {
"target": "ESNext",
"module": "NodeNext", // ESM Module resolution
"moduleResolution": "NodeNext", // ESM module resolution
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "./dist",
"rootDir": "./src",
/* Strict Type-Checking Options */
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": false, // Can be set to false when writing ESM
/* Additional Checks */
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
/* Advanced Options */
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"types": ["vitest/globals"]
},
"exclude": ["node_modules", "dist"],
"include": ["src/**/*.ts", "tests/**/*.ts", "src/**/*.json", "tests/_mocks/process.js"],
"files": ["src/swa.d.ts"]
}