@manuth/tsconfig

4.0.2 • Public • Published

TypeScriptRecommendations

Provides recommended settings for TypeScript

status-badge

Usage

Simply inherit the settings provided by this module by setting the extends-options of the tsconfig.json-file:

{
    "extends": "@manuth/tsconfig/recommended",
    "compileOnSave": true,
    "compilerOptions": {
        "rootDir": "./src",
        "module": "commonjs",
        "lib": [
            "es7"
        ],
        "target": "es6",
        "outDir": "./lib"
    }
}

By setting this option your tsconfig-file will inherit the recommended.json-settings located in the @manuth/tsconfig-module.

Configurations

Currently TypeScriptRecommendations provides following configuration-presets:

  • @manuth/tsconfig/recommended:
    manuth's recommended settings

Package Sidebar

Install

npm i @manuth/tsconfig

Weekly Downloads

45

Version

4.0.2

License

MIT

Unpacked Size

10.2 kB

Total Files

5

Last publish

Collaborators

  • lordgizmo