TsConfig files By Dragons Gamers
Using Stanley TheTemplate Stanley 📦!
Table of Contents
🎇 Info
- 🚀 Personal typescript configuration files
🖥 Libraries
📁 Dependencies
🔽 Install
yarn add @odg/tsconfig
Create Tsconfig file
{
"compilerOptions": {
"baseUrl": ".",
"outDir": "./dist",
"rootDirs": [
".",
"./src"
],
"typeRoots": [
"./src/@types",
"node_modules/@types"
]
},
"exclude": [ "node_modules/" ],
"extends": "@odg/tsconfig/tsconfig.node.json",
"include": [ "." ]
}
Recommended Node TSConfig settings
https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping