NPM package doesn't work since `dist` folder is ignored

and `main` prop was changed to the `dist` folder without updating the npmignore file.