dasmoth / dalliance

Interactive web-based genome browser.
http://www.biodalliance.org/
BSD 2-Clause "Simplified" License
226 stars 68 forks source link

Ensure Biodalliance works well as an NPM module #203

Closed dasmoth closed 7 years ago

dasmoth commented 7 years ago

Recent changes mean that some of the Biodalliance code needs to be compiled with an ES6 transpiler such as Babel before it will run in a browser. Ensuring that this happens in a parent project is a pain. Therefore, we need a "prepublish" hook that does something sensible w.r.t. building the code, and ensure that packages get published to NPM regularly.