parse info from package.json like composer does it with an dev alias for the current branch (master only)