Skip to content

13OnTheCode/typescript-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@13OnTheCode/Typescript-Config

TypeScript

Version License

English | 简体中文

A versatile TypeScript configuration library that follows best practices, offering foundational setups for Node.js, React, and Vue projects

Features

  • Follow best practices to achieve accurate and reliable type checking
  • Flexible configuration options to cater to different project needs
  • Continuously maintained and updated to support the latest versions and features

Prerequisites

TypeScript

  • Version >= 5.0.0

Install

npm install @13onthecode/typescript-config --save-dev

Usage

To use the pre-configured tsconfig files, simply extend the configuration in your project's tsconfig.json file:

Base

{
  "extends": "@13onthecode/typescript-config/base"
}

Strict

{
  "extends": "@13onthecode/typescript-config/strict"
}

Browser

{
  "extends": "@13onthecode/typescript-config/browser"
}

Node

{
  "extends": "@13onthecode/typescript-config/node"
}

React

{
  "extends": "@13onthecode/typescript-config/react"
}

Vue

{
  "extends": "@13onthecode/typescript-config/vue"
}

Check Also

License

MIT License © 2023-PRESENT 13OnTheCode