@kikiutils/tsconfigs

2.2.0 • Public • Published

@kikiutils/tsconfigs

Commonly used tsconfig configuration files.

You can extend the @kikiutils/tsconfigs/module/target setting in tsconfig.json.

Detailed documentation will be added in future releases.

Example:

{
  "extends": "@kikiutils/tsconfigs/esnext/esnext.json",
  "compilerOptions": {
    "baseUrl": "./src",
    "paths": {
      "@/*": ["./*"]
    }
  }
}

Available module options:

  • cjs
  • es6
  • es2020
  • es2022
  • esnext
  • nodenext (The moduleResolution is also set to nodenext.)

Available target options:

  • es2020
  • es2021
  • es2022
  • esnext

Special Setting File

If you are using bun, please use @kikiutils/tsconfigs/bun.json directly.

The settings are based on the recommendations in the official document.

Example:

{
  "extends": "@kikiutils/tsconfigs/bun.json",
  "compilerOptions": {
    "baseUrl": "./src",
    "paths": {
      "@/*": ["./*"]
    }
  }
}

Readme

Keywords

Package Sidebar

Install

npm i @kikiutils/tsconfigs

Weekly Downloads

8

Version

2.2.0

License

MIT

Unpacked Size

21.8 kB

Total Files

30

Last publish

Collaborators

  • kiki-kanri