Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kelysty/tsconfig
Common Typescript configuration
https://github.com/kelysty/tsconfig
config typescript
Last synced: 8 days ago
JSON representation
Common Typescript configuration
- Host: GitHub
- URL: https://github.com/kelysty/tsconfig
- Owner: Kelysty
- License: mit
- Created: 2023-11-25T03:13:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-25T04:28:24.000Z (about 1 year ago)
- Last Synced: 2024-11-18T14:38:51.984Z (2 months ago)
- Topics: config, typescript
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# @kelysty/tsconfig
## Install
Using `npm`:
```bash
npm install --save-dev @kelysty/tsconfig
```Using `yarn`:
```bash
yarn add --dev @kelysty/tsconfig
```## Usage
### JSON
Add `tsconfig.json` file in the project root with the following content.
Creating tsconfig with `json` extension is the most common approach and one of the best practice.```json
{
"extends": "@kelysty/tsconfig/tsconfig.json"
}
```### JS/TS
Alternatively you can create `tsconfig.js` or `tsconfig.ts` file in the root of your project with following content:
```js
module.exports = {
extends: ["@kelysty/tsconfig"]
}
```