build to npm component