jsPsych/packages/config/tsconfig.core.json
2021-08-25 21:57:28 +02:00

16 lines
523 B
JSON

{
// tsconfig for the jsPsych monorepo
"extends": "@jspsych/config/tsconfig.json",
"compilerOptions": {
// map package imports directly to their source files
"paths": {
"jspsych/tests": ["../jspsych/tests"],
"jspsych": ["../jspsych/src"],
"@jspsych/*": ["../*/src"]
},
// allow resolving json modules in tests (needed for transitive imports of jspsych in tests;
// the jspsych package itself uses https://stackoverflow.com/a/61426303 instead)
"resolveJsonModule": true
}
}