update package.json and add component.json