When exporting the code, every card is built into an own function, all in one file. The eventListeners are created on board setup. It is using the johnny-five API → http://johnny-five.io/api/
You can see the basic structure of the generated code here: https://blokdots.com/documentation#Code-Export