feat #548 add npmignore

I copied `.gitignore` and added a few lines at the end for consistency.

Added entries mostly have leading slashes to be excluded only in the root of the repo, not everywhere.