2.0.0 • Published 1 year ago

@dominikrusso/tsconfig v2.0.0

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

@dominikrusso/tsconfig

Base tsconfigs.

Provided Configs

<transpiler>-<environment>-<variant>.json

  • transpiler
    • tsc: you are using tsc to transpile your package
    • bundler: you are using a bundler (esbuild, bun, swc, ...)
  • environment:
    • browser: you are using Web APIs
    • node: you are not using Web APIs
  • variant:
    • app: you are creating an application
    • lib: you are creating a library

Usage

Add @dominikrusso/tsconfig as a devDependency. Then extend one of the configs:

// tsconfig.json

{
	"extends": "@dominikrusso/tsconfig/tsc-node-app.json",
	"include": ["src"],
}

⚠️ skipLibCheck is enabled by default. If you are building a library and writing d.ts files you should consider disabling this option. Please refer to this post from Testim for a detailed explanation of skipLibCheck.

1.0.0

1 year ago

0.3.0

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

2.0.0

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago