Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 873 Bytes

File metadata and controls

35 lines (24 loc) · 873 Bytes

@straw-hat/tsconfig

Base TypeScript configurations.

References

The following is the of available configuration types:

  • @straw-hat/tsconfig/lib/base: for the baseline for your projects.
  • @straw-hat/tsconfig/lib/react.nextjs: for React NextJS applications.
  • @straw-hat/tsconfig/lib/react.cra: for React CRA-like web applications.
  • @straw-hat/tsconfig/lib/react.lib: for React libraries.
  • @straw-hat/tsconfig/lib/cypress: for Cypress tests.
  • @straw-hat/tsconfig/lib/browser.lib: for libraries that are intended to be used in the browser.

How-To Guides

Get Started

  1. Install the dependency in your package:

    yarn add -D @straw-hat/tsconfig
  2. Extend your tsconfig.json files.

    {
      "extends": "@straw-hat/tsconfig/lib/{type}"
    }