@eclipse-glsp/ts-config
Version:
Shared Typescript configuration for GLSP projects
33 lines (22 loc) • 907 B
Markdown
# Eclipse GLSP - Shared Typescript configuration
Common shared configuration for Eclipse GLSP components that are based on Typescript.
## Install
```bash
yarn add --dev @eclipse-glsp/ts-config
```
## Usage
**Create a `tsconfig.json`**:
```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](https://github.com/eclipse-glsp/glsp) and the [Eclipse GLSP Website](https://www.eclipse.org/glsp/).
If you have questions, please raise them in the [discussions](https://github.com/eclipse-glsp/glsp/discussions) and have a look at our [communication and support options](https://www.eclipse.org/glsp/contact/).