Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvllow/tsconfig
Shared TypeScript config for my projects
https://github.com/mvllow/tsconfig
Last synced: about 2 months ago
JSON representation
Shared TypeScript config for my projects
- Host: GitHub
- URL: https://github.com/mvllow/tsconfig
- Owner: mvllow
- License: mit
- Created: 2021-11-09T22:20:30.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T01:39:50.000Z (4 months ago)
- Last Synced: 2024-10-19T08:16:27.319Z (3 months ago)
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
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 @mvllow/tsconfig
```## Usage
`tsconfig.json`
```json
{
"extends": "@mvllow/tsconfig",
"compilerOptions": {
"outDir": "dist"
}
}
```When targeting a higher version of Node.js, check the relevant ECMAScript version and add it as target:
```json
{
"extends": "@mvllow/tsconfig",
"compilerOptions": {
"outDir": "dist",
"target": "ES2024"
}
}
```_Inspired by [@sindresorhus](https://github.com/sindresorhus)_