@xylabs/tsconfig
v7.6.8
Published
Typescript Base Config used throughout XY Labs TypeScript/JavaScript libraries and react projects
Readme
@xylabs/tsconfig
Typescript Base Config used throughout XY Labs TypeScript/JavaScript libraries and react projects
Install
yarn add -D {{name}}Usage
Extend this config in your project's tsconfig.json:
{
"extends": "@xylabs/tsconfig",
"compilerOptions": {
"outDir": "./dist"
},
"include": ["src"]
}This provides a strict, ESM-only TypeScript configuration targeting ESNext with NodeNext module resolution. It enables strict type checking, source maps, and declaration file generation.
For projects that need DOM types, use @xylabs/tsconfig-dom instead.
For React projects, use @xylabs/tsconfig-react.
License
See the LICENSE file for license rights and limitations (LGPL-3.0-only).
