| 1 | { |
| 2 | "compilerOptions": { |
| 3 | "module": "commonjs", |
| 4 | "target": "ES2022", |
| 5 | "lib": ["ES2022", "dom", "es6", "es5", "dom.iterable", "scripthost"], |
| 6 | "outDir": "out/tsc/src", |
| 7 | "sourceMap": true, |
| 8 | "rootDir": "../../", |
| 9 | "strict": true, |
| 10 | "esModuleInterop": true, |
| 11 | "resolveJsonModule": true, |
| 12 | "skipLibCheck": true, |
| 13 | "types": ["mocha"] // This solves conflict between jest and mocha: https://github.com/cypress-io/cypress/issues/7435#issuecomment-631695007 |
| 14 | }, |
| 15 | "include": ["src/**/*", "../../core/**/*.ts", "../../core/**/*.d.ts"], |
| 16 | // core/test uses @types/jest, which conflicts with @types/mocha |
| 17 | "exclude": [ |
| 18 | "../../core/dist/**/*", |
| 19 | "../../core/**/*.test.ts", |
| 20 | "../../core/**/test/**/*", |
| 21 | "../../core/**/*.skip.ts" |
| 22 | ] |
| 23 | } |