@straw-hat/tsconfig

4.2.2 • Public • Published

@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}"
    }

Package Sidebar

Install

npm i @straw-hat/tsconfig

Weekly Downloads

38

Version

4.2.2

License

MIT

Unpacked Size

4.14 kB

Total Files

9

Last publish

Collaborators

  • ubi