fix component/type require for node
Release 0.2.5