mix npm.publish (NPM v0.6.0)

Copy Markdown View Source

Publish the current package to the npm registry.

mix npm.publish
mix npm.publish --tag beta
mix npm.publish --access public
mix npm.publish --dry-run

Requires NPM_TOKEN environment variable or .npmrc auth config.

Options

  • --tag — publish with a dist-tag (default: latest)
  • --access — package access level: public or restricted
  • --dry-run — show what would be published without uploading