add npm config
delete deprecated methodes for fibjs.
add test