Get the List of Lightning Components from a Salesforce Org

We can write SOQL query on AuraDefinitionBundle object to get all Lightning Component Bundles from an Org.

Sample SOQL:

SELECT ApiVersion,CreatedDate,DeveloperName,MasterLabel,NamespacePrefix FROM AuraDefinitionBundle