npm bindings
0-vortex opened this issue · comments
TED Vortex (Teodor-Eugen Duțulescu) commented
Add npm module exports to lib/LabelSync.js requires:
- move es7 code to /src
- transpiling es7 code into es6
- publish output form lib
Some links:
- https://booker.codes/how-to-build-and-publish-es6-npm-modules-today-with-babel/
- https://medium.com/@kentcdodds/misunderstanding-es6-modules-upgrading-babel-tears-and-a-solution-ad2d5ab93ce0#.ldzg2he3l
- http://stackoverflow.com/questions/29738381/how-to-publish-a-module-written-in-es6-to-npm#answer-33976278