I know this is more of a TypeScript / npm question, but it's bugging me and I can't find the answer online.
Basically, I have followed the instructions on the website to clone and build Superpowers Game. I've made a few modifications myself and have built them successfully. The only problem is, my source tree is polluted with all of the generated JS files that npm creates. My GitHub Desktop tells me that I have made all these changes, but they're just part of the build process and shouldn't be synced.
How can I clean up my source tree after running build, so that I can do commits and PRs without hassle?