npm.io
2.8.0 • Published 2 months ago

@eclipse-glsp/ts-config

Licence
(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)
Version
2.8.0
Deps
0
Size
37 kB
Vulns
0
Weekly
0

Eclipse GLSP - Shared Typescript configuration

Common shared configuration for Eclipse GLSP components that are based on Typescript.

Install

pnpm add --save-dev @eclipse-glsp/ts-config

Usage

Create a tsconfig.json:

{
    "extends": "@eclipse-glsp/ts-config",
    "compilerOptions": {
        "rootDir": "src",
        "outDir": "lib"
    }
}

In addition, a custom configuration for projects that use mocha is available:

  • @eclipse-glsp/ts-config/mocha

More information

For more information, please visit the Eclipse GLSP Umbrella repository and the Eclipse GLSP Website. If you have questions, please raise them in the discussions and have a look at our communication and support options.

Keywords