mirror of
https://github.com/betagouv/mon-entreprise
synced 2025-02-09 00:35:00 +00:00
* Translate to typescript. * Use explicit imports for mocha and jest. * Remove dependency on @types/mocha as it may conflict with jest types. * Upgrade jest & replace yaml-jest with custom transformer. * Fix mocha-webpack bug. * Prevent jest from priting console outputs.
27 lines
702 B
JSON
27 lines
702 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": "source",
|
|
"moduleResolution": "node",
|
|
"module": "esnext",
|
|
"target": "esnext",
|
|
"esModuleInterop": true,
|
|
"jsx": "react-jsx",
|
|
"allowSyntheticDefaultImports": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"allowJs": true,
|
|
"paths": {
|
|
"Actions/*": ["actions/*"],
|
|
"Components": ["components"],
|
|
"Components/*": ["components/*"],
|
|
"Images/*": ["static/images/*"],
|
|
"Reducers/*": ["reducers/*"],
|
|
"Selectors/*": ["selectors/*"],
|
|
"Types/*": ["types/*"]
|
|
},
|
|
"typeRoots": ["./types/", "./node_modules/@types"],
|
|
"noEmit": true,
|
|
"strict": true
|
|
},
|
|
"include": ["source", "test/**/*.ts", "dev-server.js"]
|
|
}
|