summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/browser/tsconfig.json18
-rw-r--r--packages/server/tsconfig.json18
-rw-r--r--tsconfig.json17
3 files changed, 21 insertions, 32 deletions
diff --git a/packages/browser/tsconfig.json b/packages/browser/tsconfig.json
index 65ae35e..52829d9 100644
--- a/packages/browser/tsconfig.json
+++ b/packages/browser/tsconfig.json
@@ -1,15 +1,8 @@
{
+ "extends": "../../tsconfig.json",
"compilerOptions": {
- "target": "ES2018",
- "lib": ["ES2018", "DOM"],
- "module": "commonjs",
- "esModuleInterop": true,
- "declaration": true,
- "sourceMap": true,
"baseUrl": "./src",
"outDir": "./dist",
- "allowSyntheticDefaultImports": true,
- "strict": true,
"paths": {
"@libTypes": ["libTypes"],
"@helpers/*": ["helpers/*"],
@@ -19,12 +12,5 @@
{ "transform": "typescript-transform-paths" },
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
]
- },
- "include": [
- "src/**/*",
- ],
- "exclude": [
- "src/**/*.test.ts",
- "src/setupTests.ts"
- ]
+ }
}
diff --git a/packages/server/tsconfig.json b/packages/server/tsconfig.json
index 65ae35e..52829d9 100644
--- a/packages/server/tsconfig.json
+++ b/packages/server/tsconfig.json
@@ -1,15 +1,8 @@
{
+ "extends": "../../tsconfig.json",
"compilerOptions": {
- "target": "ES2018",
- "lib": ["ES2018", "DOM"],
- "module": "commonjs",
- "esModuleInterop": true,
- "declaration": true,
- "sourceMap": true,
"baseUrl": "./src",
"outDir": "./dist",
- "allowSyntheticDefaultImports": true,
- "strict": true,
"paths": {
"@libTypes": ["libTypes"],
"@helpers/*": ["helpers/*"],
@@ -19,12 +12,5 @@
{ "transform": "typescript-transform-paths" },
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
]
- },
- "include": [
- "src/**/*",
- ],
- "exclude": [
- "src/**/*.test.ts",
- "src/setupTests.ts"
- ]
+ }
}
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000..7383e2e
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,17 @@
+{
+ "compilerOptions": {
+ "target": "ES2018",
+ "lib": ["ES2018", "DOM"],
+ "module": "commonjs",
+ "esModuleInterop": true,
+ "declaration": true,
+ "sourceMap": true,
+ "allowSyntheticDefaultImports": true,
+ "strict": true,
+ },
+ "exclude": [
+ "node_modules",
+ "**/*.test.ts",
+ "**/setupTests.ts"
+ ]
+}