node-moving-things-tracker
node-moving-things-tracker copied to clipboard
Create standalone dist/moving-things-tracker.js
Hi @tdurand. Do you mind if we add to package.json something like this?
"bundle": "browserify main.js --standalone tracker -o dist/moving-things-tracker.js",
"dist": "npm run bundle && browserify main.js --standalone gd | uglifyjs > dist/moving-things-tracker.min.js"
That way I believe people could use it out of the box in the browser via tracker.Tracker.updateTrackedItemsWithNewFrame ... which would be great as e.g. the create coding audience might not always be into node.js.
Yes no problem, could you send a PR or I can do it ?