8.1.0 • Published 10 months ago

@softwareventures/tsconfig v8.1.0

Weekly downloads
145
License
ISC
Repository
github
Last release
10 months ago

tsconfig

Standard TypeScript compiler configuration for Software Ventures Limited.

Install

npm install --save-dev @softwareventures/tsconfig

or for yarn users:

yarn add --dev @softwareventures/tsconfig

We recommend that all packages that use this configuration also add a dependency on tslib. tslib is needed to support a handful of languages features that are available in ES2018+ but not ES2017.

npm install --save tslib

or

yarn add tslib

Usage

Create a tsconfig.json file in the root of your project containing:

{
    "extends": "@softwareventures/tsconfig"
}

The above is the default configuration, which will include the ES2017 API and generate modules in ESM format (see advice for migrating to ESM modules). This configuration is suitable for projects that target node alone, or that target both node and the browser.

Several alternative configurations are also provided with settings suitable for other target environments or module formats. To use one of the alternative configurations, set the extends field to one of the values in the table below.

extends
@softwareventures/tsconfigThe default configuration. Includes ES2017 API and generates modules in ESM format. Suitable for projects that either target node alone, or target both node and the browser.
@softwareventures/tsconfig/commonjsSame as default, but generates modules in CommonJS format instead of ESM.
@softwareventures/tsconfig/domIncludes DOM API in addition to ES2017. Suitable for use in code targeting browsers or for projects that include a DOM library such as jsdom.
@softwareventures/tsconfig/dom-commonjsSame as dom, but generates modules in CommonJS format instead of ESM.
@softwareventures/tsconfig/webworkerIncludes WebWorker API in addition to ES2017. Suitable for use in code that will run as a Web Worker.
@softwareventures/tsconfig/webworker-commonjsSame as webworker, but generates modules in CommonJS format instead of ESM.
5.2.0

10 months ago

6.1.0

10 months ago

7.3.0

10 months ago

7.2.0

10 months ago

8.1.0

10 months ago

8.0.0

1 year ago

8.0.0-alpha.3

1 year ago

7.1.1

1 year ago

8.0.0-alpha.2

2 years ago

8.0.0-alpha.1

2 years ago

7.1.0

2 years ago

7.0.1

2 years ago

7.0.0

3 years ago

6.0.0-alpha.5

3 years ago

6.0.0-alpha.6

3 years ago

5.1.1

3 years ago

6.0.0

3 years ago

1.1.1

4 years ago

6.0.0-alpha.4

4 years ago

5.1.0

4 years ago

6.0.0-alpha.3

4 years ago

6.0.0-alpha.2

4 years ago

6.0.0-alpha.1

4 years ago

5.1.0-alpha.1

4 years ago

5.0.1

4 years ago

2.3.3

4 years ago

5.0.0

4 years ago

2.3.2

5 years ago

4.1.0

5 years ago

4.0.0

5 years ago

3.0.0

5 years ago

1.1.0

5 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.0.0

7 years ago

0.1.0

7 years ago