fix default types due to nopt
update package.json