Wait for packages to install successfully before writing component.json -- Should solve #386
Merge pull request #387 from CoryG89/master

Wait for packages to install successfully before writing component.json ...