ignore npm debug logs
add pre-commit hook to run tests