Adds ignore to NPM. Updates package.json with a main attribute.