@nolanrigo/tsconfig

$ npm i -D @nolanrigo/tsconfig OR $ yarn add --dev @nolanrigo/tsconfig

Usage no npm install needed!

<script type="module">
  import nolanrigoTsconfig from 'https://cdn.skypack.dev/@nolanrigo/tsconfig';
</script>

README

@nolanrigo/tsconfig

Installation

$ npm i -D @nolanrigo/tsconfig
OR
$ yarn add --dev @nolanrigo/tsconfig

tsconfig.json

Node.js (version 12.x.x)

{
  "extends": "@nolanrigo/tsconfig/nodejs/tsconfig.json",
  "compilerOptions": {
    // project specific options
    ...
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules"]
}

React.js

{
  "extends": "@nolanrigo/tsconfig/react/tsconfig.json",
  "compilerOptions": {
    // project specific options
    ...
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules"]
}