This is a quick tutorial on how you can publish your own npm package with minimal configuration. This will cover the basic setup, how npm works and how to ship good quality code.
The full tutorial can be found at my Medium blog.
You'll need the following packages:
You can install all the dependencies by running:
npm i -D @babel/core babel-loader webpack webpack-cli