Renamed generate-licenses.js to generate-licenses.mjs and updated the package.json script to use the new file extension, reflecting a switch to ES module format.