[ ] All tests passed. If this feature is not already covered by the tests, I added new tests.
[ ] This pull request is on the dev branch.
[ ] I used gofmt for formatting the code before submitting the pull request.
Projects with Npm dependencies may have optional dependencies. We should skip adding those dependencies to the buildinfo.json in case they aren't available.
[ ] I used gofmt for formatting the code before submitting the pull request.
Projects with Npm dependencies may have optional dependencies. We should skip adding those dependencies to the buildinfo.json in case they aren't available.