rebuild the component and package json