Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/osskit/tsconfig
official tsconfig used by osskit
https://github.com/osskit/tsconfig
Last synced: 9 days 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-07T12:25:21.000Z (11 months ago)
- Last Synced: 2024-11-14T11:14:42.500Z (about 1 month 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/**/*"]
}
```