hard code: add pkg.main = "lib/index.js"
if deps are not defined in package.json, there will be correct instinct; bug fixed