WebTools
所有工具
🇺🇸
EN
🇯🇵
JA
🇨🇳
ZH
🇰🇷
KO
首页
/
工具列表
/
tsconfig.json 生成器
tsconfig.json 生成器
生成带有常见选项的TypeScript项目tsconfig.json。
Target
ES5
ES6
ES2015
ES2017
ES2018
ES2019
ES2020
ES2021
ES2022
ESNext
Module
CommonJS
ESNext
ES2020
NodeNext
None
JSX
None
react-jsx (React 17+)
react
preserve
Out Dir
Strict mode
Path aliases (@/*)
No unused vars
No implicit any
tsconfig.json
{ "compilerOptions": { "target": "ES2020", "module": "ESNext", "lib": [ "ES2020", "DOM", "DOM.Iterable" ], "jsx": "react-jsx", "outDir": "./dist", "rootDir": "./src", "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noImplicitAny": true, "esModuleInterop": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, "declaration": true, "sourceMap": true, "baseUrl": ".", "paths": { "@/*": [ "src/*" ] } }, "include": [ "src/**/*" ], "exclude": [ "node_modules", "dist" ] }
Copy tsconfig.json
相关工具
Nginx 配置生成器
.htaccess 生成器
.eslintrc 生成器
UUID 生成器
关于此工具
生成带有常见选项的TypeScript项目tsconfig.json。