add npmignore and fix related stuff