Add type to composer.json.
Needed for installer-paths support.