Add Node.js project tooling and config

This commit is contained in:
morluto
2026-07-12 03:25:06 +08:00
parent fbce15f990
commit b0301b81dd
8 changed files with 2913 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
{
"compilerOptions": {
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"exactOptionalPropertyTypes": true,
"forceConsistentCasingInFileNames": true,
"lib": ["ES2023"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"outDir": "dist",
"rootDir": ".",
"skipLibCheck": false,
"strict": true,
"target": "ES2023",
"types": ["node"],
"verbatimModuleSyntax": true
},
"include": ["src/**/*.ts", "tests/**/*.ts", "vitest.config.ts"],
"exclude": ["dist", "node_modules"]
}