add component.json and modify module require