added type attr to composer.json

Signed-off-by: Giovanni Vinaccia <vinaccia.giovanni@gmail.com>