updating package.json with dependencies