Update composer.json to support components type