
@ariestools/tsconfig-react

Typescript Base Config used throughout XY Labs TypeScript/JavaScript libraries and react projects
Install
Using npm:
npm install -D {{name}} @ariestools/tsconfig-dom @ariestools/tsconfig
Using yarn:
yarn add -D {{name}} @ariestools/tsconfig-dom @ariestools/tsconfig
Using pnpm:
pnpm add -D {{name}} @ariestools/tsconfig-dom @ariestools/tsconfig
Using bun:
bun add -D {{name}} @ariestools/tsconfig-dom @ariestools/tsconfig
Usage
Extend this config in your project's tsconfig.json:
{
"extends": "@ariestools/tsconfig-react",
"compilerOptions": {
"outDir": "./dist"
},
"include": ["src"]
}
This extends @ariestools/tsconfig-dom and adds "jsx": "react-jsx", enabling React 18+ JSX transform without needing to import React in every file.
License
See the LICENSE file for license rights and limitations (LGPL-3.0-only).
Credits
Made with 🔥 and ❄️ by XY Labs