mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
consolidate resolveJsonModule rule into main tsconfig.json
This commit is contained in:
parent
db7bcf82f6
commit
b420804203
@ -6,7 +6,5 @@
|
|||||||
// map jspsych-contrib package imports directly to their source files
|
// map jspsych-contrib package imports directly to their source files
|
||||||
"@jspsych-contrib/*": ["../*/src"]
|
"@jspsych-contrib/*": ["../*/src"]
|
||||||
},
|
},
|
||||||
// allow json resolving to automatically pull package.json info
|
|
||||||
"resolveJsonModule": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,5 @@
|
|||||||
"jspsych": ["../jspsych/src"],
|
"jspsych": ["../jspsych/src"],
|
||||||
"@jspsych/*": ["../*/src"]
|
"@jspsych/*": ["../*/src"]
|
||||||
},
|
},
|
||||||
// allow resolving json modules in tests (needed for transitive imports of jspsych)
|
|
||||||
"resolveJsonModule": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"isolatedModules": true // required by Sucrase
|
"isolatedModules": true, // required by Sucrase
|
||||||
|
// required for automatic package versioning and needed for transitive imports of jspsych)
|
||||||
|
"resolveJsonModule": true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user