transform should handle options from package.json or commandline