- Add Babel core, presets for env and TypeScript support - Add babel-jest for JavaScript transformation in Jest - Add node-fetch and @types/node-fetch for HTTP testing - Update TypeScript config for better Jest compatibility - Update bun.lock with new dependency resolutions
24 lines
590 B
JSON
24 lines
590 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"experimentalDecorators": true,
|
|
"useDefineForClassFields": false,
|
|
"module": "ESNext",
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"types": ["node", "jest", "@playwright/test"],
|
|
"moduleResolution": "bundler",
|
|
"isolatedModules": true,
|
|
"moduleDetection": "force",
|
|
"allowJs": true,
|
|
"jsx": "react-jsx",
|
|
"paths": {
|
|
"@/*": ["./*"]
|
|
},
|
|
"allowImportingTsExtensions": true,
|
|
"noEmit": true
|
|
}
|
|
}
|