Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Saul-Mirone/type-config
A generator for tsconfig
https://github.com/Saul-Mirone/type-config
tsconfig tsconfig-setttings typescript
Last synced: about 1 month ago
JSON representation
A generator for tsconfig
- Host: GitHub
- URL: https://github.com/Saul-Mirone/type-config
- Owner: Saul-Mirone
- Created: 2019-04-03T11:33:04.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-06T21:56:19.000Z (2 months ago)
- Last Synced: 2024-10-29T18:42:02.381Z (about 1 month ago)
- Topics: tsconfig, tsconfig-setttings, typescript
- Language: JavaScript
- Homepage:
- Size: 23.4 MB
- Stars: 19
- Watchers: 4
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-star - type-config - Mirone | 18 | (JavaScript)
README
# TypeConfig
## Motivation
Typescript is greet. However, every time we start a project with typescript (or migrate our old js project), we must choose [compiler options](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for our project. Going through all the rules is really painful.
*TypeConfig* comes to make getting start with tsconfig really easier: just pick the style and enjoy.
## Quick Start
```
npm install @type-config/cli -gtype-config init
```## Introduction
*TypeConfig* provide following receipes (Addition is welcome):
* **standard**: Can be use in most projects. Use most type check rules, but not anything more(like no used something).
* **strict**: Fit for packages. Use the most strict rules.
* **react**: Fit for app using react.
* **easy**: Fit for new starter or old javascript projects. Use the most loose rules, allow using javascript.### CLI usage:
```
# you can decide the name of the config file
type-config init [config-name.json]
```