2.0.0-32 • Published 1 year ago

@code-style/typescript-configs v2.0.0-32

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@code-style/typescript-configs

My set of tsc config files

Usage

The easiest way to get started with this project is to use our setup script.

  1. Install this config plugin as a dev dependency.

    npm i -D @code-style/typescript-configs
  2. Pick an appropriate role config to base your on.

    For example, you could pick @code-style/typescript-configs/roles/node.json.

  3. Pick any appropriate layer configs to add to your config.

    For example, you could pick @code-style/typescript-configs/layers/esmodule.json.

  4. Create your tsconfig.json.

    {
        "extends": [
            "@code-style/typescript-configs/roles/node.json",
            "@code-style/typescript-configs/layers/esmodule.json"
        ]
    }
  5. Set your baseUrl and outDir paths.

    {
        ...
        "compilerOptions": {
            "baseUrl": "src/",
            "outDir": "dist/"
        }
    }
  6. Set your include and exclude paths.

    {
        ...
        "include": ["src/"],
        "exclude": ["dist/"]
    }
2.0.0-32

1 year ago

2.0.0-31

1 year ago

2.0.0-29

1 year ago

2.0.0-28

1 year ago

2.0.0-30

1 year ago

2.0.0-27

1 year ago

2.0.0-26

1 year ago

2.0.0-25

1 year ago

2.0.0-24

1 year ago