How to compile entire application as an npm package


I’m developing nosqlclient which is written completely in MeteorjS and blaze template (I started the project at the earlier stages of MeteorJS)

However, in earlier days we discussed that it’s impossible to create a npm package for MeteorJS applications, but as far as I remember that was depending on npm version and MeteorJS already upgraded it.

So my question is, how could it be possible to create a npm package for nosqlclient? (Uses latest MeteorJS version with blaze)