Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mvllow/tsconfig

Shared TypeScript config for my projects
https://github.com/mvllow/tsconfig

Last synced: about 2 months ago
JSON representation

Shared TypeScript config for my projects

Awesome Lists containing this project

README

        

# tsconfig

> Shared [TypeScript config](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) for my projects

## Install

```sh
npm install --save-dev @mvllow/tsconfig
```

## Usage

`tsconfig.json`

```json
{
"extends": "@mvllow/tsconfig",
"compilerOptions": {
"outDir": "dist"
}
}
```

When targeting a higher version of Node.js, check the relevant ECMAScript version and add it as target:

```json
{
"extends": "@mvllow/tsconfig",
"compilerOptions": {
"outDir": "dist",
"target": "ES2024"
}
}
```

_Inspired by [@sindresorhus](https://github.com/sindresorhus)_