@muravjev/configs-ts-react
v0.1.4
Published
Shared typescript config for lib (ts + react) packages
Downloads
28
Maintainers
Readme
Shared typescript configuration
The purpose of the typescript is to add strong typing to javascript
.
This configuration targets lib react packages.
Contents
Setup
Add workspace reference to
@muravjev/configs-ts-react
and its peers dependencies:pnpm add -w @muravjev/configs-ts-react typescript react react-dom @types/node @types/react @types/react-dom
Add typescript configuration file
// packages/bar/tsconfig.json { "extends": "@muravjev/configs-ts-react", "compilerOptions": { "baseUrl": "src", "rootDir": "src" }, "include": ["src"] }
Donation
If you found this project helpful, consider
buying me a coffee, donate by paypal or just leave a star⭐
Thanks for your support, it is much appreciated!