Support dispatch packages.json to directory