diff --git a/package.json b/package.json index 40f0695921..e85bb525c6 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ ], "globals": { "ts-jest": { - "tsconfig": "tsconfig.jest.json" + "tsconfig": "tests/tsconfig.json" } } }, diff --git a/tests/tsconfig.json b/tests/tsconfig.json new file mode 100644 index 0000000000..c8024a780b --- /dev/null +++ b/tests/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "outDir": "../build/js", + }, + "include": [ + "../src", + "." + ] +} diff --git a/tsconfig.jest.json b/tsconfig.jest.json deleted file mode 100644 index fd28876f07..0000000000 --- a/tsconfig.jest.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "preserveConstEnums": true, - "noImplicitThis": true, - "moduleResolution": "node", - "removeComments": false, - "target": "es2019", - "outDir": "dist", - "alwaysStrict": true, - "noUnusedLocals": true, - "noUnusedParameters": false, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, - "strictPropertyInitialization": true, - "strictNullChecks": true, - "esModuleInterop": true, - "allowJs": true, - "sourceMap": true - }, - "include": ["src", "tests"], - "typedocOptions": { - "entryPoints": ["src/index.ts"], - "out": "doc/tsdoc", - "name": "o-spreadsheet API", - "readme": "none", - "excludePrivate": true, - "hideGenerator": true, - "disableSources": true, - "excludeExternals": true - } -}