- Update
package.json
, setversion
to a prerelease version, e.g.2.0.0-rc1
,3.1.5-rc4
, ... - Run
npm pack
to create package - Run
npm publish <package>.tgz --tag next
to publish the package under thenext
tag - Run
npm install --save package@next
to install prerelease package
-
-
Save howardpanton/7d2e5404eb8da367a4a3d015fdac7d78 to your computer and use it in GitHub Desktop.
Publish a prerelease package to NPM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment