0.1.0-alpha.3 • Published 12 months ago

@itaober/tsconfig v0.1.0-alpha.3

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@itaober/tsconfig

English / 简体中文

Introduction

@itaober/tsconfig provides a set of TypeScript configuration files suitable for different types of projects. Currently, it includes the following configurations:

  • base.json: Basic configuration suitable for general TypeScript projects.
  • react-library.json: Configuration for developing and publishing React component libraries.
  • react-app.json: Configuration for building and developing React applications.

Install

pnpm install @itaober/tsconfig -D

Usage

In your project's tsconfig.json file, use the extends field to inherit the appropriate configuration file.

base.json

{
  "extends": "@itaober/tsconfig/base.json"
  // Your custom configurations
}

react-app.json

{
  "extends": "@itaober/tsconfig/react-app.json"
  // Your custom configurations
}

react-library.json

{
  "extends": "@itaober/tsconfig/react-library.json"
  // Your custom configurations
}

Changelog

See the CHANGELOG.md.

0.1.0-alpha.3

12 months ago

0.1.0-alpha.2

12 months ago

0.1.0-alpha.1

12 months ago