[streams] Es5 distribution (#432)

With ServiceWorkers growing in popularity, we would like to start prototyping a server-side execution environment for ServiceWorker code. This includes `ReadableStream`, which is now available in Chrome Canary. The reference implementation would fill this need. However, there does not seem to be any current version in the npm registry.

Therefore, I am proposing to publish a transpiled ES5 version of this reference implementation.

This PR sets up babeljs in a prepublish hook. It is little more than a POC, but is confirmed working by publishing (and unpublishing) to npmjs.org.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/432

-- Commit Summary --

  * Fix constness bug
  * POC: ES5 distribution

-- File Changes --

    A reference-implementation/.babelrc (3)
    A reference-implementation/.npmignore (5)
    M reference-implementation/bench/recording-differ.js (2)
    A reference-implementation/index.js (4)
    M reference-implementation/package.json (11)

-- Patch Links --

https://github.com/whatwg/streams/pull/432.patch
https://github.com/whatwg/streams/pull/432.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/432

Received on Saturday, 27 February 2016 00:03:50 UTC