https://github.com/keinsell/tsconfig
🔧 TypeScript Configurations for different kinds of projects
https://github.com/keinsell/tsconfig
Last synced: 8 months ago
JSON representation
🔧 TypeScript Configurations for different kinds of projects
- Host: GitHub
- URL: https://github.com/keinsell/tsconfig
- Owner: keinsell
- Created: 2024-06-26T03:13:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-26T04:06:28.000Z (over 1 year ago)
- Last Synced: 2025-02-12T10:08:23.894Z (9 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tsconfig
[TypeScript config](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html)
## Install
```sh
npm install --save-dev @keinsell/tsconfig
```
*This config requires TypeScript 5 or later.*
## Usage
`tsconfig.json`
```json
{
"extends": "@keinsell/tsconfig",
"compilerOptions": {
"outDir": "dist"
}
}
```
When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as `target`:
```json
{
"extends": "@keinsell/tsconfig",
"compilerOptions": {
"outDir": "dist",
"target": "ES2023"
}
}
```