Remove `legacy` and `mobile` from .gitignore and .npmignore.