Split updating of lib/version.js into a separate script and created update-version npm script
Renamed rollup script to build to be a bit more conventional
Added a pretest script to run build before npm test
Added a prepublishOnly script to run update-version and then build before npm publish
I believe this should take care of any of our remaining issues with the release process. We should, of course, run an alpha release first to verify. I tested this locally and everything seemed to work.
lib/version.js
into a separate script and createdupdate-version
npm scriptrollup
script tobuild
to be a bit more conventionalpretest
script to runbuild
beforenpm test
prepublishOnly
script to runupdate-version
and thenbuild
beforenpm publish
I believe this should take care of any of our remaining issues with the release process. We should, of course, run an alpha release first to verify. I tested this locally and everything seemed to work.