Unity Script Reference:
ExportPackageOptions.Recurse
Description

Will recurse through any subdirectories listed and include all assets inside them.