I've cloned the package and followed the instructions to visualize my graph using a local server, after determining the correct package structure.
I want to "save" a static copy of this graph that I can host on GitHub, like the one @anvaka is hosting on his GitHub and that is in the pm/build directory. When I run npm run build in the cloned copy of the pm package, I rebuild the original React app with the package galaxies, instead of my graph.
This may be a very novice question, but how do I use npm to generate a build of my own visualization? What should I be targeting—package structure changes, code, etc.?
I've cloned the package and followed the instructions to visualize my graph using a local server, after determining the correct package structure.
I want to "save" a static copy of this graph that I can host on GitHub, like the one @anvaka is hosting on his GitHub and that is in the pm/build directory. When I run
npm run build
in the cloned copy of the pm package, I rebuild the original React app with the package galaxies, instead of my graph.This may be a very novice question, but how do I use npm to generate a build of my own visualization? What should I be targeting—package structure changes, code, etc.?