use npm install -g component@1.0.0-rc5