These changes will automatically build & publish the package under npmjs for every push on the master branch. Note that this will enforce highly usage of local commits or either a 'dev'-like branch to work with, instead of direct commits on the master branch.
I think this will make working with this lib a lot easier, not to mention that the repo will also stay clean without any production generated files on the /dist folder.
If this pull request is accepted, don't forget to create a secret for the repository named "NPM_TOKEN" with a generated token as value that you can get with npm token create
Thanks @VitorMac10! At this time, I would not like to change the build or infrastructure since everything seems to be working well and changes are so infrequent.
These changes will automatically build & publish the package under npmjs for every push on the master branch. Note that this will enforce highly usage of local commits or either a 'dev'-like branch to work with, instead of direct commits on the master branch.
I think this will make working with this lib a lot easier, not to mention that the repo will also stay clean without any production generated files on the /dist folder.
If this pull request is accepted, don't forget to create a secret for the repository named "NPM_TOKEN" with a generated token as value that you can get with
npm token create