Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rubiin/tsconfig
Shareable tsconfig for my projects
https://github.com/rubiin/tsconfig
Last synced: about 1 month ago
JSON representation
Shareable tsconfig for my projects
- Host: GitHub
- URL: https://github.com/rubiin/tsconfig
- Owner: rubiin
- License: mit
- Created: 2023-06-14T16:25:42.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-09T12:08:57.000Z (2 months ago)
- Last Synced: 2024-09-09T14:30:00.027Z (2 months ago)
- Size: 18.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# tsconfig
> Shared [TypeScript config](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) for my projects
## Install
```sh
npm install --save-dev @rubiin/tsconfig
```*This config requires TypeScript 5 or later.*
## Usage
`tsconfig.json`
```json
{
"extends": "@rubiin/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": "@rubiin/tsconfig",
"compilerOptions": {
"outDir": "dist",
"target": "ES2023"
}
}
```