Skip to content

Instantly share code, notes, and snippets.

@RileySeaburg
Created July 18, 2021 02:06
Show Gist options
  • Save RileySeaburg/efbfa7d5cd7371fef59b5f610637c9fc to your computer and use it in GitHub Desktop.
Save RileySeaburg/efbfa7d5cd7371fef59b5f610637c9fc to your computer and use it in GitHub Desktop.
Standard TSconfig.json Setup
{
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"allowJs": true,
"checkJs": false,
"jsx": "preserve",
"outDir": "./build",
"rootDir": "./lib",
"removeComments": true,
"noEmit": true,
"pretty": true,
"skipLibCheck": true,
"strict": true,
"moduleResolution": "node",
"esModuleInterop": true,
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"isolatedModules": true,
"baseUrl": ".",
"paths": {
"@/components/*": ["components/*"],
"@/lib/*": ["lib/*"],
"@/styles/*": ["styles/*"]
}
},
"include": [
"./lib/**/*"
],
"exclude": [
"node_modules",
"stories"
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment