Get a list of entry points for every CommonJS or AMD JavaScript app within a directory