mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 19:22:51 +00:00
36 lines
903 B
Markdown
36 lines
903 B
Markdown
# @openstapps/configuration
|
|
|
|
A collection of configuration base files for StApps projects.
|
|
|
|
```shell
|
|
npm install --save-dev @openstapps/configuration
|
|
```
|
|
|
|
## `.editorconfig`
|
|
|
|
This file is automatically copied to your project's root directory upon installation of this package. It tells your editor/IDE about basic settings for indentation and formatting.
|
|
|
|
## `tsconfig.json`
|
|
|
|
Create a `tsconfig.json` with the following content:
|
|
|
|
```json
|
|
{
|
|
"extends": "./node_modules/@openstapps/configuration/tsconfig.json"
|
|
}
|
|
```
|
|
|
|
[Extend/adjust the configuration](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) only exceptionally.
|
|
|
|
## `tslint.json`
|
|
|
|
Create a `tslint.json` with the following content:
|
|
|
|
```json
|
|
{
|
|
"extends": "./node_modules/@openstapps/configuration/tslint.json"
|
|
}
|
|
```
|
|
|
|
[Extend/adjust the configuration](https://palantir.github.io/tslint/usage/configuration/) only exceptionally.
|