From d91e88c30e13f123c0b72d49e46f23a301590a89 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 31 Jul 2024 20:45:07 +0530 Subject: [PATCH] feat(core): ts config --- maxun-core/jest.config.js | 10 ++++++++++ maxun-core/tsconfig.json | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 maxun-core/jest.config.js create mode 100644 maxun-core/tsconfig.json diff --git a/maxun-core/jest.config.js b/maxun-core/jest.config.js new file mode 100644 index 00000000..e4e978ec --- /dev/null +++ b/maxun-core/jest.config.js @@ -0,0 +1,10 @@ +/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ +module.exports = { + preset: 'ts-jest', + testEnvironment: 'node', + globals: { + 'ts-jest': { + isolatedModules: true + } + } +}; \ No newline at end of file diff --git a/maxun-core/tsconfig.json b/maxun-core/tsconfig.json new file mode 100644 index 00000000..a3813d95 --- /dev/null +++ b/maxun-core/tsconfig.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "outDir": "./build", + "declaration": true, + "allowJs": true + }, + "include": ["src"] +}