Maybe you could refactor https://github.com/google/traceur-compiler/blob/master/src/codegeneration/ModuleTransformer.js#L135 to a public metod that returns the list of property definitions.

One problem I see by all the solutions so far is that they will complain about duplicate export for `export *`. I'm not really sure how to solve that ATM.