mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
let contrib repo import json files as modules
This commit is contained in:
parent
6e345b8dbd
commit
db7bcf82f6
5
.changeset/eight-steaks-camp.md
Normal file
5
.changeset/eight-steaks-camp.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@jspsych/config": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
allow JSON resolution in contrib repository for usage of package.json in versioning
|
@ -5,6 +5,8 @@
|
|||||||
"paths": {
|
"paths": {
|
||||||
// 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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user