You can use this project to kickstart your npm package. This project uses webpack & babel (env) to build your files so ES6 code can be used.
- Update
package.json
with your package info - Change the constants in
webpack.config.js
build
This will run webpackwatch
This will run webpack in watch modepublish
This will publish your package to NPM. Keep in mind that the --acces=public flag is active. You can remove this if necessary