update package json with the right dependencies and dev deps