Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ivangabriele/tsconfig

My most commonly used Typescript configurations.
https://github.com/ivangabriele/tsconfig

Last synced: 22 days ago
JSON representation

My most commonly used Typescript configurations.

Awesome Lists containing this project

README

        

# My Typescript Configurations

[![img-license]][lnk-license] [![img-github]][lnk-github]

My most commonly used Typescript configurations.

---

- [Usage](#usage)
- [Base](#base)
- [Node](#node)
- [React](#react)
- [Next](#next)
- [Contribute](#contribute)

---

## Usage

### Base

[![img-npm-base]][lnk-npm-base]

```sh
npm i -DE @ivangabriele/tsconfig-base
```

or:

```sh
yarn add -DE @ivangabriele/tsconfig-base
```

Then extend it in your `tsconfig.json`:

```json
{
"extends": "@ivangabriele/tsconfig-base"
}
```

### Node

[![img-npm-node]][lnk-npm-node]

```sh
npm i -DE @ivangabriele/tsconfig-node
```

or:

```sh
yarn add -DE @ivangabriele/tsconfig-node
```

Then extend it in your `tsconfig.json`:

```json
{
"extends": "@ivangabriele/tsconfig-node"
}
```

### React

[![img-npm-react]][lnk-npm-react]

```sh
npm i -DE @ivangabriele/tsconfig-react
```

or:

```sh
yarn add -DE @ivangabriele/tsconfig-react
```

Then extend it in your `tsconfig.json`:

```json
{
"extends": "@ivangabriele/tsconfig-react"
}
```

### Next

[![img-npm-next]][lnk-npm-next]

```sh
npm i -DE @ivangabriele/tsconfig-next
```

or:

```sh
yarn add -DE @ivangabriele/tsconfig-next
```

Then extend it in your `tsconfig.json`:

```json
{
"extends": "@ivangabriele/tsconfig-next"
}
```

## Contribute

Please refer to the [contribution guidelines](./CONTRIBUTING.md) for information on how to contribute to this project.

---

[img-github]:
https://img.shields.io/github/actions/workflow/status/ivangabriele/tsconfig/check.yml?branch=main&label=CI&style=for-the-badge
[img-license]: https://img.shields.io/github/license/ivangabriele/tsconfig?style=for-the-badge
[img-npm-base]: https://img.shields.io/npm/v/@ivangabriele/tsconfig-base?style=for-the-badge
[img-npm-next]: https://img.shields.io/npm/v/@ivangabriele/tsconfig-next?style=for-the-badge
[img-npm-node]: https://img.shields.io/npm/v/@ivangabriele/tsconfig-node?style=for-the-badge
[img-npm-react]: https://img.shields.io/npm/v/@ivangabriele/tsconfig-react?style=for-the-badge
[lnk-github]: https://github.com/ivangabriele/tsconfig/actions?query=branch%3Amain++
[lnk-license]: https://github.com/ivangabriele/tsconfig/blob/main/LICENSE
[lnk-npm-base]: https://www.npmjs.com/package/@ivangabriele/tsconfig-base
[lnk-npm-next]: https://www.npmjs.com/package/@ivangabriele/tsconfig-next
[lnk-npm-node]: https://www.npmjs.com/package/@ivangabriele/tsconfig-node
[lnk-npm-react]: https://www.npmjs.com/package/@ivangabriele/tsconfig-react