Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create standalone dist/moving-things-tracker.js #7

Open
b-g opened this issue Apr 20, 2018 · 1 comment
Open

Create standalone dist/moving-things-tracker.js #7

b-g opened this issue Apr 20, 2018 · 1 comment

Comments

@b-g
Copy link
Member

b-g commented Apr 20, 2018

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.

@tdurand
Copy link
Member

tdurand commented Apr 20, 2018

Yes no problem, could you send a PR or I can do it ?

tdurand pushed a commit that referenced this issue Sep 8, 2020
Adds @vsaw as contributor and bumps version to 0.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants