https://github.com/aniftyco/tsconfig
Shared TypeScript config for NiftyCo projects
https://github.com/aniftyco/tsconfig
Last synced: 4 months ago
JSON representation
Shared TypeScript config for NiftyCo projects
- Host: GitHub
- URL: https://github.com/aniftyco/tsconfig
- Owner: aniftyco
- License: mit
- Created: 2023-02-16T19:34:21.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-19T16:09:40.000Z (over 1 year ago)
- Last Synced: 2025-02-25T14:56:22.457Z (4 months ago)
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# @aniftyco/tsconfig
> Shared [TypeScript config](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) for NiftyCo projects.
## Install
```sh
npm install --save-dev @aniftyco/tsconfig
```_This config requires TypeScript 4.7 or later._
## Usage
`tsconfig.json`
```json
{
"extends": "@aniftyco/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": "@aniftyco/tsconfig",
"compilerOptions": {
"outDir": "dist",
"target": "ES2021"
}
}
```