add .gitignore.  fix "main" script location.  add `npm test`.