Kinto / kinto-discovery-lib

1 stars 0 forks source link

Added a npm run dist command; upgraded to babel6. #7

Closed n1k0 closed 8 years ago

n1k0 commented 8 years ago

Refs #4. This patch adds a new npm run dist command to generate a minified browser compatible asset in dist/kinto-discovery.min.js, exposing a root KintoDiscovery object where exported discovery functions are attached, so in-browser usage with that script loaded is:

KintoDiscovery.registerUserURL(...);

This also upgrades Babel to version 6.

r=? @oak11 @natim @almet

Natim commented 8 years ago

This is great, thanks a lot @n1k0