1.4.0 • Published 1 year ago

@tookredpill/tsconfig v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@tookredpill/tsconfig

Shared TypeScript config for my projects.

Install

yarn add -D @tookredpill/tsconfig

Usage

Create a tsconfig.json file in your project and extend it with one of the available configs.

Vite + React

{
  "extends": "@tookredpill/tsconfig/configs/vite.json",
  "compilerOptions": {
    "jsx": "react-jsx"
  }
}

Vite + Solid

{
  "extends": "@tookredpill/tsconfig/configs/vite.json",
  "compilerOptions": {
    "jsx": "preserve",
    "jsxImportSource": "solid-js"
  }
}

Node 16

{
  "extends": "@tookredpill/tsconfig/configs/base.json",
  "compilerOptions": {
    "target": "ES2021",
    "module": "ES2022",
    "lib": ["ES2021"],
    "outDir": "dist"
  }
}

License

MIT

1.4.0

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.0

2 years ago

1.0.0

2 years ago

0.1.0

2 years ago