"main" : "./lib/index.js"
That doesn't exist. Perhaps you mean ./index.js ?
fixed lib index and dependencies, closes #64
Thanx for report. We tested ndoc only as CLI util, and missed that bug.
No worries, I almost exclusively use it from scripts, so there you go.