Updated package.json generation script to reflect correct version format