Skip to content

alienfast/tsconfig

Repository files navigation

tsconfig

Shared TypeScript configs for AlienFast projects

Install

yarn install -D @alienfast/tsconfig

This config requires TypeScript 5 or later.

Usage

Example for a node package:

{
  "$schema": "https://json.schemastore.org/tsconfig",
	"extends": "@alienfast/tsconfig/node.json",
  "compilerOptions": {
    "composite": true,
    "outDir": "dist",
    "rootDir": "src"
  },
  "include": ["src", "../../typings/**/*", "../../typings-local/**/*"],
  "exclude": ["node_modules", "dist"],
}