Skip to content

Commit 004dfcd

Browse files
osdiabgcanti
authored andcommitted
tsconfig setup matching that of fp-ts
1 parent 6d1dcac commit 004dfcd

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

tsconfig.build-es6.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "./tsconfig.build.json",
3+
"compilerOptions": {
4+
"outDir": "./dist/es6",
5+
"module": "es6"
6+
}
7+
}
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
4-
"outDir": "./es6",
5-
"module": "es6"
6-
}
4+
"noEmit": false
5+
},
6+
"include": ["./src"]
77
}

tsconfig.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"compilerOptions": {
3-
"outDir": "./lib",
3+
"outDir": "./dist/lib",
4+
"noEmit": true,
45
"declaration": true,
6+
"esModuleInterop": true,
57
"module": "commonjs",
68
"noImplicitReturns": false,
79
"noUnusedLocals": true,
810
"noUnusedParameters": true,
911
"noFallthroughCasesInSwitch": true,
10-
"noEmitOnError": false,
1112
"strict": true,
1213
"target": "es5",
1314
"moduleResolution": "node",

0 commit comments

Comments
 (0)