Updating package json with repository detail