robbestad/Rantjs

Which files need to be hosted?

Opened this issue · 3 comments

Hi @svenanders ,
We are cdnjs team, we want to host this project in cdnjs.
But I'm not sure which files in this repo need to be added, could you please help up find out the main files?
Thank you.

cdnjs/cdnjs#7698

Hi! Cool that you want to host Rantjs. For distribution it should be rant.min.js (for instance https://github.com/svenanders/Rantjs/blob/master/dist/rant.min.js), but I made some efforts into separating the Rantjs core and the dictionary files (in order to support other languages). The currrent dist folder is misleading, as it's actually more of an example/guide. I'll put in some effort to sort this out now and make a proper dist folder containing the core and the dictionary! Except to have it finished within a couple of days.

Hi @pvnr0082t

I've finished the restructuring. The npm package now contains the browserified version as index.js, the minified version as index.min.js. The source files are also included in the source directory. Hope this makes it compatible with cdnjs!

Thanks for restructuring!! It's a great help. 👍