Dependencies needed: node v11.14.0 and jmacs
I just cloned and in order to build I had to nvm install 11.14.0 (required by chart.js) and yarn add jmacs.
P.S. I'm building just to look at the distribution files, trying to figure out how to use graphy with Svelte and rollup. I'm new to Svelte and rollup, and apart from D3 everything I've been importing so far has thrown bundler errors, so if you have any tips let me know!
Thanks for the issue! I am also starting to dive into Svelte and rollup so maybe I can learn something in the process as well. Apologies for the build system difficulties, chart.js should actually be an optional dev dependency.
If you are just trying to view the dist files, or simply bundling it with rollup/webpack/browserify, I believe doing a regular npm install of the specific libraries you need and doing an import/require should take care of it -- although I have only tested this with browserify.
P.S. my experience with rollup so far with other projects has been that it is sensitive about mixing ES modules / CommonJS / IIFE / etc. Switching to webpack took care of these issues for me though.
@blake-regalia I saw that you had created a Svelte repo (as I follow you) and wondered what you might be up to. :smile:
I made some progress since opening this issue by switching to webpack. I now have trivial tests of four RDF libraries working or almost working in the following Svelte repo. It seems none of the RDF libraries I've tried so far (at least four) can be used with rollup. I'm still gathering info, and would be interested if you have any success with rollup and any RDF library. If you get stuck, the following repo might help a bit:
https://github.com/theWebalyst/svelte-with-rdf-libs-webpack