- Add pnpm workspace configuration to specify built dependencies. - Create tsconfig.json for TypeScript compiler options and module resolution. - Add tsconfig.build.json for build-specific TypeScript settings. - Set up Vitest configuration with path aliasing for testing.
41 lines
846 B
JSON
41 lines
846 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2020",
|
|
"module": "nodenext",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"rootDir": "./",
|
|
"outDir": "./dist",
|
|
"moduleResolution": "nodenext",
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"moduleDetection": "force",
|
|
"isolatedModules": true,
|
|
"removeComments": true,
|
|
"skipLibCheck": true,
|
|
"baseUrl": "./",
|
|
"paths": {
|
|
"@/*": [
|
|
"./src/*"
|
|
]
|
|
},
|
|
"plugins": [
|
|
{
|
|
"transform": "typescript-transform-paths"
|
|
},
|
|
{
|
|
"transform": "typescript-transform-paths",
|
|
"afterDeclarations": true
|
|
}
|
|
]
|
|
},
|
|
"include": [
|
|
"src/**/*",
|
|
"tests/**/*",
|
|
],
|
|
}
|