新增 TypeScript 配置文件,设置编译选项;更新依赖项并添加开发依赖
This commit is contained in:
44
tsconfig.json
Normal file
44
tsconfig.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"resolvePackageJsonExports": true,
|
||||
"isolatedModules": true,
|
||||
"removeComments": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"module": "NodeNext",
|
||||
"target": "esnext",
|
||||
"useDefineForClassFields": false,
|
||||
"noImplicitAny": false,
|
||||
"sourceMap": true,
|
||||
"allowJs": false,
|
||||
"newLine": "LF",
|
||||
"noEmit": true,
|
||||
"allowImportingTsExtensions": true,
|
||||
"moduleResolution": "NodeNext",
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"esModuleInterop": true,
|
||||
"strict": false,
|
||||
"rootDir": ".",
|
||||
"outDir": "dist",
|
||||
"incremental": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"skipLibCheck": true,
|
||||
"types": [
|
||||
"node"
|
||||
],
|
||||
"typeRoots": [
|
||||
"node_modules/@types"
|
||||
],
|
||||
"paths": {
|
||||
"~/*": [
|
||||
"./src/*"
|
||||
],
|
||||
"@/*": [
|
||||
"./agents/*"
|
||||
],
|
||||
"@/app.ts": [
|
||||
"./agents/app.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user