@codecompose/typescript-config 1.0.0-2 → 1.0.0
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/package.json +2 -1
- package/react-library.json +18 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecompose/typescript-config",
|
|
3
3
|
"description": "Reusable strict TypeScript configurations",
|
|
4
|
-
"version": "1.0.0
|
|
4
|
+
"version": "1.0.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Thijs Koerselman",
|
|
7
7
|
"publishConfig": {
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"base.json",
|
|
23
23
|
"nextjs.json",
|
|
24
24
|
"library.json",
|
|
25
|
+
"react-library.json",
|
|
25
26
|
"service.json"
|
|
26
27
|
],
|
|
27
28
|
"devDependencies": {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"display": "A React Component Library",
|
|
4
|
+
"extends": "./base.json",
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"lib": ["dom", "dom.iterable", "es2023"],
|
|
7
|
+
"jsx": "preserve",
|
|
8
|
+
/* If transpiling with TypeScript: */
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
|
|
11
|
+
/* AND if you're building for a library: */
|
|
12
|
+
"declaration": true,
|
|
13
|
+
|
|
14
|
+
/* AND if you're building for a library in a monorepo: */
|
|
15
|
+
"composite": true,
|
|
16
|
+
"declarationMap": true
|
|
17
|
+
}
|
|
18
|
+
}
|