Switched from metalsmith CLI to Javascript API and removed unneeded node modules.