I want to start developing an. open-source javascript library. I can see other open-source libraries are well structured. They have src, dist, test kind of folders, etc.
Which is making me very confused. My end goal is i want to develop a well structured and well documented JS library, but initially i need some hierarchy and recommended tools which most of open-source famous library developers are using, because definitely if i will have a good and well structured library then contributors will join in all future planning.
Also i want to develop my library in modules like small files of each functionality and have tools automatically generate build/dist folder for whoever wants to use library and src folder easy to understand my structure for contributors.
Please feel free to ask me anything if you don't understand what i mean.
Thank you