0.0.5 • Published 2 years ago

@levi2ki/tsconfig v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Collection of TS configs.

Read more about shareable configuration at official documentation

Installation

npm i --save-dev @levi2ki/tsconfig

Using

Extend your config with extends keyword.

{
  "extends": "@levi2ki/tsconfig/standard",
  "compilerOptions": {
    "baseUrl": "./",
    "typeRoots": ["./src/@types", "node_modules/@types"]
  },
  "include": ["src"],
  "exclude": ["node_modules"]
}

❗ Do not forget to define specific options include, exclude, baseUrl, typeRoots, rootDir, outDir, declarationDir etc and other path specific options as they will not be shared via extends

Available configs

  • react-standard mostly usual strict config with most important options.
  • react-recommended recommended config with options, that cover you from most gotchas - use this if you like strict code.
0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.1

2 years ago