feat(core): ts config

This commit is contained in:
karishmas6
2024-07-31 20:45:07 +05:30
parent c6bbd27c71
commit d91e88c30e
2 changed files with 18 additions and 0 deletions

10
maxun-core/jest.config.js Normal file
View File

@@ -0,0 +1,10 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
globals: {
'ts-jest': {
isolatedModules: true
}
}
};

8
maxun-core/tsconfig.json Normal file
View File

@@ -0,0 +1,8 @@
{
"compilerOptions": {
"outDir": "./build",
"declaration": true,
"allowJs": true
},
"include": ["src"]
}