Generate a composer.json file for the packages installed.