Sorting out package.json to make sure dependencies are included.