NPM publishing - ad4game/phaser-a4g GitHub Wiki

Cloning repo:

  1. git clone [email protected]:ad4game/phaser-a4g.git

Logining to https://www.npmjs.com with this command:

  1. npm login

After did some changing code you should run this command for increment package version :

  1. npm version patch

After increment: you can publish the package with this command:

  1. npm publish --access public