3.0.2 • Published 9 months ago

@kikiutils/tsconfigs v3.0.2

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

@kikiutils/tsconfigs

npm version npm downloads License

Base configuration files for TypeScript projects, simplifying setup and configuration for various environments.

Installation

Add dependency (example using pnpm).

pnpm add -D @kikiutils/tsconfigs

You can also use yarn, npm, or bun to add the dependency.

That's it! You're ready to use this package in your project. Check out the instructions for usage below ✨.

Usage

Here is an example of the tsconfig.json content:

{
  "extends": "@kikiutils/tsconfigs/esnext/es2022.json",
  "compilerOptions": {
    "baseUrl": "./src",
    "declaration": true,
    "outDir": "./dist"
  },
  "include": ["./src"]
}

The file path for extend is composed as "@kikiutils/tsconfigs/compilerOptions.module/compilerOptions.target.json".

For example, if you want to set compilerOptions.module to CommonJS and compilerOptions.target to ES2021, the value of the extends option should be @kikiutils/tsconfigs/commonjs/es2021.json.

!NOTE If using the Bun runtime, please use @kikiutils/tsconfigs/bun.json directly.

For more information about the module and target options, please visit the the following links.

License

MIT License

3.0.2

9 months ago

3.0.1

12 months ago

3.0.0

12 months ago

2.2.0

1 year ago

2.1.0

1 year ago

2.0.1

1 year ago

2.0.0

2 years ago

1.0.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago