Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/meewmeew/tsconfig
Shared TypeScript config for my projects
https://github.com/meewmeew/tsconfig
Last synced: 11 days ago
JSON representation
Shared TypeScript config for my projects
- Host: GitHub
- URL: https://github.com/meewmeew/tsconfig
- Owner: MeewMeew
- License: mit
- Created: 2023-03-13T06:28:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-21T14:57:47.000Z (about 1 year ago)
- Last Synced: 2024-10-30T04:56:00.590Z (2 months ago)
- Size: 3.91 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 @meewmeew/tsconfig
``````sh
yarn add --dev @meewmeew/tsconfig
```*This config requires TypeScript 4.7 or later.*
## Usage
`tsconfig.json`
```json
{
"extends": "@meewmeew/tsconfig",
"compilerOptions": {
"outDir": "build"
}
}
```When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as `target`:
```json
{
"extends": "@meewmeew/tsconfig",
"compilerOptions": {
"outDir": "build",
"target": "ES2023"
}
}
```