restructure project setup
dominikg opened this issue · comments
The one file setup for plugin / cli worked to get started. As they grow it becomes a pain to manage.
Setup a proper directory structure and break files apart.
While you're add it, think about moving to ts, and provide dist / d.ts in npm package