← All datasets
⚙️

TypeScript Config JSON Dataset

Configuration · ~15 options

A recommended tsconfig.json for modern TypeScript projects with strict mode and path aliases. Free to use, no attribution required — copy it, download it, or open it directly in the JSON Formatter. Runs entirely in your browser.

#typescript#tsconfig#config

Fields

compilerOptionsobject
includearray
excludearray

Common uses

  • Bootstrapping new projects
  • Standardizing config across a team
  • CI/CD pipeline setup
  • Editor and tooling defaults
{
  "compilerOptions": {
    "target": "ES2020",
    "lib": [
      "ES2020",
      "DOM",
      "DOM.Iterable"
    ],
    "module": "ESNext",
    "moduleResolution": "bundler",
    "jsx": "react-jsx",
    "strict": true,
    "strictNullChecks": true,
    "noImplicitAny": true,
    "noImplicitReturns": true,
    "noUnusedLocals": false,
    "noUnusedParameters": false,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "forceConsistentCasingInFileNames": true,
    "skipLibCheck": true,
    "resolveJsonModule": true,
    "declaration": true,
    "declarationMap": true,
    "sourceMap": true,
    "outDir": "./dist",
    "rootDir": "./src",
    "baseUrl": ".",
    "paths": {
      "@/*": [
        "./src/*"
      ],
      "@components/*": [
        "./src/components/*"
      ],
      "@utils/*": [
        "./src/utils/*"
      ]
    }
  },
  "include": [
    "src/**/*"
  ],
  "exclude": [
    "node_modules",
    "dist",
    "**/*.test.ts",
    "**/*.spec.ts"
  ]
}

Related datasets

Prettier Config🔍 ESLint Config📦 package.json Template

Related tools

JSON FormatterJSON DiffJSON to TypeScript