2.2.1 • Published 2 years ago

@cyansalt/tsconfig v2.2.1

Weekly downloads
8
License
ISC
Repository
github
Last release
2 years ago

@cyansalt/tsconfig

npm

My TypeScript configuration.

Installation

npm install --save-dev @cyansalt/tsconfig

Usage

// tsconfig.json
{
  "extends": "@cyansalt/tsconfig/tsconfig.app"
  // OR in short (not recommended)
  // "extends": "@cyansalt/tsconfig"
}

For base libraries (which will be used as dependencies):

// tsconfig.json
{
  "extends": "@cyansalt/tsconfig/tsconfig.lib"
}

By default, tsc will not output any files when using the above configuration. The following configuration may be additionally required:

// tsconfig.json
{
  "compilerOptions": {
    // To emit .js files when compiling
    "noEmit": false,
    // To emit .d.ts files when compiling
    "declaration": true
  }
}

In addition, you will also need to specify the files to be included (include) or excluded (exclude) yourself.

For more information, see TSConfig.

2.2.1

2 years ago

2.1.2

2 years ago

2.2.0

2 years ago

2.1.3

2 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago