@muravjev/configs-ts-react

0.1.4 • Public • Published

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!

License

MIT © Sergey Muravjev


Back


Package Sidebar

Install

npm i @muravjev/configs-ts-react

Weekly Downloads

4

Version

0.1.4

License

MIT

Unpacked Size

3.34 kB

Total Files

5

Last publish

Collaborators

  • muravjev