Read detailed description/tutorial on https://www.grzegorowski.com/publishing-npm-package-with-rollup-babel-and/ or check example package https://github.com/jmarceli/npm-lib-package-example.
- Clone this repository
git clone git@github.com:jmarceli/npm-lib-package-boilerplate.git
- Adjust REAMDE.md content (e.g. paths in badges above)
- Remove .git folder
- Add your code to src/ folder
Jan Grzegorowski