reads main file from package.json