create-arena-project
Version:
神奇代码岛<->VSCode,从这里开始,创建一个神岛代码项目的脚手架。
29 lines (28 loc) • 914 B
JSON
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"strict": true, // 启用严格类型检查模式,有助于发现潜在的类型错误。
"removeComments": false, // 在编译过程中移除所有注释,减少生成代码的体积。
"declaration": true, // 自动生成声明文件
"declarationDir": "dist", // 声明文件生成的目录
"esModuleInterop": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"baseUrl": ".",
"rootDir": "../",
"outDir": "dist", // !!不要更改此项 !!
"typeRoots": ["./types"],
"lib": [],
"paths": {
"@src/*": ["./src/*"],
"@shares/*": ["../shares/*"],
"@server/*": ["./*"],
"@root/*": ["../*"]
}
},
"exclude": ["node_modules", "dist"]
}