1.0.1 • Published 10 months ago
@itaober/tsconfig v1.0.1
@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/hooks libraries.react-app.json: Configuration for building and developing React applications.
Installation
pnpm add @itaober/tsconfig -DUsage
In your tsconfig.json, extend the configuration:
base.json
Basic configuration with strict type checking, ESNext features, and essential compiler options:
{
"extends": "@itaober/tsconfig/base.json",
// Your custom configurations
}react-library.json
Optimized for React library development:
{
"extends": "@itaober/tsconfig/react-library.json",
// Your custom configurations
}react-app.json
Tailored for React application development:
{
"extends": "@itaober/tsconfig/react-app.json",
// Your custom configurations
}License
1.0.1
10 months ago
1.0.0
10 months ago
0.1.0-alpha.3
1 year ago
0.1.0-alpha.2
1 year ago
0.1.0-alpha.1
1 year ago