First make sure you have done a commit of latest changes then
You can run
npm version 1.0.4-alpha.1
to updatepackage.json
and create a git tag in one go (see https://docs.npmjs.com/cli/version).
this changes package.json
version to be
"version": "1.0.4-alpha.0",
then you can run npm run publish:public
which under the hood preps the files and folder and runs npm publish dist --access public
.
To install in another repo
npm install @bbc/react-transcript-editor@alpha