feat(core): ts config
This commit is contained in:
10
maxun-core/jest.config.js
Normal file
10
maxun-core/jest.config.js
Normal 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
8
maxun-core/tsconfig.json
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./build",
|
||||||
|
"declaration": true,
|
||||||
|
"allowJs": true
|
||||||
|
},
|
||||||
|
"include": ["src"]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user