robbestad / Rantjs

Procedurally generate text with JavaScript
220 stars 10 forks source link

Which files need to be hosted? #10

Open pvnr0082t opened 8 years ago

pvnr0082t commented 8 years ago

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.

https://github.com/cdnjs/cdnjs/issues/7698

robbestad commented 8 years ago

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.

robbestad commented 8 years ago

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!

pvnr0082t commented 8 years ago

Thanks for restructuring!! It's a great help. :+1: