@xonovex/ts-config-base 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# @xonovex/ts-config-base
|
|
2
|
+
|
|
3
|
+
Base TypeScript configuration for Xonovex projects.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -D @xonovex/ts-config-base
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
Extend in your `tsconfig.json`:
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"extends": "@xonovex/ts-config-base"
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Configuration
|
|
22
|
+
|
|
23
|
+
Provides strict TypeScript settings:
|
|
24
|
+
|
|
25
|
+
- `strict: true`
|
|
26
|
+
- `noUncheckedIndexedAccess: true`
|
|
27
|
+
- `exactOptionalPropertyTypes: true`
|
|
28
|
+
- ES2022 target
|
|
29
|
+
- ESM module resolution
|
|
30
|
+
|
|
31
|
+
## License
|
|
32
|
+
|
|
33
|
+
MIT
|