Adds .npmignore rules to exclude ignore src, tests and build script from NPM packages.