Update node.js/package.json from CircleCI build #?

I’m trying to learn how we can auto-update the package.json version element using the CircleCI build number (in form 1.0.{build}).

Is there an easy way to pass this down into the build so it applies the build number?

Thanks,
Kirk