I\'m trying to use LernaJS with typescript and I have some problems. When I try to run my package-1 which has package-2 as dependency I get the error:
module.j
Please ensure you have defined main in your package.json in (at least project-2). I assume the name field in package.json (for project-2) is project-2.
main
project-2
Main should link to dist/index.js
dist/index.js