How to test locally
- Run
npm run watch to watch for changes and build the project
- Open
test/index.html in your browser
- Ensure that the script points to
dist/bundle.js in the test folder index.html file
- Add
?logtohtml=true to the URL to test the log window
- Enjoy!
Publish to npm
- Run
npm run build to build the project
- Add version number to
package.json and changelog.MD
- Run
npm publish
- add
git add . and git commit -m "version number" to commit changes
- Run
git push to push changes to remote
- Run
git tag -a "version number" -m "version number" to create a tag