I threw together a Framer prototyping environment that allows you to write JS and use your own code editor. Read about it on Medium:
I've been trying to do something similar but I'll take this instead. Thank you!It's not working out-of-the-box though :( Found that your npm run script needs a small edit for it to work: --content-base dist/ to --content-base public/
Thanks! I'll make that change soon.