npm ignore dist and test folders

This decreases the generated `tar.gz` published by 1MB