mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
e87df4a791
Simpler Typescript setup in the backend GitOrigin-RevId: 3a90f26a5ac8029d14203faa98008375ce933e7d
33 lines
1.4 KiB
JSON
33 lines
1.4 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext" /* Specify ECMAScript target version */,
|
|
"module": "es2020" /* Specify module code generation */,
|
|
"allowJs": true /* Allow JavaScript files to be compiled. */,
|
|
// "checkJs": true /* Report errors in .js files. */,
|
|
"jsx": "preserve" /* Specify JSX code generation */,
|
|
"noEmit": true /* Do not emit outputs. */,
|
|
"strict": true /* Enable all strict type-checking options. */,
|
|
"moduleResolution": "node" /* Specify module resolution strategy */,
|
|
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
|
|
"skipLibCheck": true /* Skip type checking of declaration files. */,
|
|
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
|
|
"paths": {
|
|
"@/*": ["./frontend/js/*"],
|
|
"@overleaf/o-error": ["../../libraries/o-error"],
|
|
"@overleaf/ranges-tracker": ["../../libraries/ranges-tracker"]
|
|
},
|
|
"types": ["cypress", "@testing-library/cypress"]
|
|
},
|
|
"include": [
|
|
"frontend/js/**/*.*",
|
|
"modules/**/frontend/js/**/*.*",
|
|
"test/frontend/**/*.*",
|
|
"modules/**/test/frontend/**/*.*",
|
|
"frontend/stories/**/*.*",
|
|
"modules/**/stories/**/*.*",
|
|
".storybook/*.*",
|
|
"cypress",
|
|
"types"
|
|
],
|
|
"exclude": ["**/*.min.js"]
|
|
}
|