fix require
update gitignore to ignore npm package