4.2.8 • Published 9 months ago

@monkvision/typescript-config v4.2.8

Weekly downloads
-
License
BSD-3-Clause-Clea...
Repository
github
Last release
9 months ago

@monkvision/typescript-config

This package provides the TSConfigs used in MonkJs Typescript projects. It also exports useful type declarations for compiling.

Install

To install the project simply run the following command :

yarn add -D typescript @monkvision/typescript-config

How to use

To use one of the Typescript config exported by this package, place the following code in your tsconfig.json :

{
  "extends": "@monkvision/typescript-config/tsconfig.json",
  "include": ["src", "test"]
}

You can replace tsconfig.json by the name of the config file you want to use.

We also recommend using a second tsconfig file used for building your sources using the command tsc -p tsconfig.build.json. The build file will specify the outDir and exclude the test files like this :

{
  "extends": "./tsconfig.json",
  "compilerOptions": {
    "outDir": "dist"
  },
  "exclude": ["test"]
}

Available configs

Here is a list of available Typescript config files exported by this project :

NameUsage
tsconfig.jsonBase configuration for TypeScript projects
tsconfig.react.jsonBase configuration for React projects
4.2.7

9 months ago

4.2.8

9 months ago

4.2.6

9 months ago

4.2.5

9 months ago

4.2.3

9 months ago

4.2.2

9 months ago

4.2.4

9 months ago

4.1.0

9 months ago

4.2.1

9 months ago

4.2.0

9 months ago

4.0.21

10 months ago

4.0.20

10 months ago

4.0.24

9 months ago

4.0.19

10 months ago

4.0.18

10 months ago

4.0.17

10 months ago

4.0.16

10 months ago

4.0.15

10 months ago

4.0.12

11 months ago

4.0.14

11 months ago

4.0.13

11 months ago

4.0.10

11 months ago

4.0.11

11 months ago

4.0.9

11 months ago

4.0.8

11 months ago

4.0.7

11 months ago