0.0.1 • Published 1 year ago

@flixlix/config-ts-react v0.0.1

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

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 @flixlix/config-ts-react and its peers dependencies:

    pnpm add -w @flixlix/config-ts-react typescript react react-dom @types/node @types/react @types/react-dom
  • Add typescript configuration file

    // packages/bar/tsconfig.json
    
    {
      "extends": "@flixlix/config-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 © Luca Félix


⬅ Back


0.0.1

1 year ago