package now supports npm and component