chore: initial commit
I just realized i was using this without commiting it, so this is a very big commit
This commit is contained in:
40
tsconfig.json
Normal file
40
tsconfig.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"include": ["./src/**/*.ts"],
|
||||
"compilerOptions": {
|
||||
// Environment setup & latest features
|
||||
"lib": ["esnext"],
|
||||
"target": "ES6",
|
||||
"module": "NodeNext",
|
||||
"moduleDetection": "auto",
|
||||
"allowJs": false,
|
||||
|
||||
// Bundler mode
|
||||
"outDir": "./dist/",
|
||||
"moduleResolution": "NodeNext",
|
||||
// "verbatimModuleSyntax": true,
|
||||
"declaration": true,
|
||||
|
||||
// Best practices
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
|
||||
// Some stricter flags (disabled by default)
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"noPropertyAccessFromIndexSignature": false,
|
||||
|
||||
//Paths
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
},
|
||||
|
||||
//plugins
|
||||
"plugins": [
|
||||
{ "transform": "typescript-transform-paths" },
|
||||
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user