fixed bug where package.json wasn't getting added to config object.
fixes #46