1.0.3 • Published 9 months ago

@tszhong0411/tsconfig v1.0.3

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

@tszhong0411/tsconfig

The TypeScript config for tszhong0411 projects.

Installation

Install the package via npm or yarn:

npm install -D @tszhong0411/tsconfig
# or
yarn add -D @tszhong0411/tsconfig
# or
pnpm add -D @tszhong0411/tsconfig

Configurations

The @tszhong0411/tsconfig package provides two distinct configuration files: base.json for basic TypeScript projects and web.json for TypeScript projects related to websites.

Basic TypeScript Project Configuration (base.json)

To configure a basic TypeScript project, create a tsconfig.json file in the root directory of your project and extend base.json:

{
  "extends": "@tszhong0411/tsconfig/base.json"
}

This configuration is optimized for standard TypeScript projects, covering essential compiler options and settings.

Web TypeScript Project Configuration (web.json)

For TypeScript projects related to websites, use the web.json configuration. Create a tsconfig.json file in your website project's root directory and extend web.json:

{
  "extends": "@tszhong0411/tsconfig/web.json"
}

The web.json configuration extends the base.json configuration and adds settings specific to web development, such as JSX preservation and necessary libraries.

License

This project is licensed under the MIT License.

1.0.2

9 months ago

1.0.3

9 months ago

1.0.1

1 year ago

1.0.0

1 year ago