https://github.com/osskit/tsconfig
official tsconfig used by osskit
https://github.com/osskit/tsconfig
Last synced: 3 months ago
JSON representation
official tsconfig used by osskit
- Host: GitHub
- URL: https://github.com/osskit/tsconfig
- Owner: osskit
- License: mit
- Created: 2022-06-30T09:32:41.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-07T12:25:21.000Z (over 2 years ago)
- Last Synced: 2025-10-17T11:57:57.486Z (8 months ago)
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# tsconfig
> Official [TypeScript config](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) used by osskit
## Install
```sh
yarn add --dev @osskit/tsconfig
```
*This config requires TypeScript 4.7 or later.*
## Usage
`tsconfig.json`
```json
{
"extends": "@osskit/tsconfig",
"compilerOptions": {
"outDir": "dist"
},
"include": ["src/**/*"]
}
```
When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as `target`:
```json
{
"extends": "@osskit/tsconfig",
"compilerOptions": {
"outDir": "dist",
"target": "ES2021"
},
"include": ["src/**/*"]
}
```