Remove `legacy` and `mobile` from .gitignore and .npmignore. [ci skip]