Convert NPM License Checker output (JSON) to OFF format. (see github.com/owasp/off)
- Get an npm license checker report in json (eg.
license-checker --exclude 'MIT, BSD, BSD-2-Clause, Apache-2.0, CC0-1.0, ISC' --json > npm-licenses.json
) go get github.com/jemurai/npmlc2off
npmlc2off npm-licenses.json
Npmlc2off works to follow golang best practices. Therefore, when updating, we need to do the following:
go get -u
go mod tidy
git commit -m "change with version"
git tag v1.0.6
git push origin v1.0.6
Run the build.sh and get the different types of artifacts and include them in the release.