mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-12 02:00:06 -06:00
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com> Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
76 lines
3.2 KiB
JSON
76 lines
3.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Basic Options */
|
|
"target": "ES2018",
|
|
"module": "esnext",
|
|
"lib": ["dom", "ESNext"],
|
|
/*
|
|
* Allow javascript files to be compiled.
|
|
* Override this in modules that need JS
|
|
*/
|
|
"noEmit": true,
|
|
"jsx": "preserve",
|
|
"preserveWatchOutput": true,
|
|
// "checkJs": true, /* Report errors in .js files. */
|
|
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
|
|
/* Generates corresponding '.d.ts' file. */
|
|
// "declaration": true,
|
|
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
|
/* Generates corresponding '.map' file. */
|
|
"sourceMap": true,
|
|
/* Import emit helpers from 'tslib'. */
|
|
"importHelpers": true,
|
|
"strictNullChecks": true,
|
|
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
|
|
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
|
|
/* Strict Type-Checking Options */
|
|
// "traceResolution": true,
|
|
"strict": true,
|
|
"noImplicitAny": false,
|
|
"noImplicitThis": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
/**
|
|
* Skip type checking of all declaration files (*.d.ts).
|
|
* TODO: Look into changing this in the future
|
|
*/
|
|
/* Additional Checks */
|
|
"skipLibCheck": true,
|
|
/* Report errors on unused locals. */
|
|
// "noEmit": true,
|
|
"noUnusedLocals": false,
|
|
// "noUnusedParameters": true, /* Report errors on unused parameters. */
|
|
/* Report error when not all code paths in function return a value. */
|
|
"noImplicitReturns": true,
|
|
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
|
/* Module Resolution Options */
|
|
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
|
|
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
|
|
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
|
|
// "rootDirs": ["../driver/src"], /* List of root folders whose combined content represents the structure of the project at runtime. */
|
|
// "typeRoots": [] /* List of folders to include type definitions from. */
|
|
|
|
/* Type declaration files to be included in compilation. */
|
|
"paths": {
|
|
"@cy/i18n": ["../frontend-shared/src/locales/i18n"],
|
|
"@cy/components/*": ["../frontend-shared/src/components/*"]
|
|
},
|
|
"types": [
|
|
"chrome",
|
|
"./vue-shims",
|
|
"./vite-env",
|
|
"@intlify/unplugin-vue-i18n/messages",
|
|
"@testing-library/cypress",
|
|
"cypress-real-events",
|
|
"cypress",
|
|
"cypress-axe"
|
|
],
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"noErrorTruncation": true,
|
|
"experimentalDecorators": true,
|
|
"resolveJsonModule": true,
|
|
"importsNotUsedAsValues": "error",
|
|
"useUnknownInCatchVariables": false
|
|
}
|
|
}
|