Require component and npm modules