Add a .npmignore
If no npmignore is present, npm will fall back on the gitignore. Our gitignore ignores dist/, which is the exact opposite of what we want npm to do. Adding an explicit npmignore overrides the settings for git. This one is based on the gitignore, with dist/ removed and some entries which appeared to be for older layouts of the repo.