Publishing an application on the npm package manager
By Patineboot
- 1 minutes read
- 143 words

I sat down ahead of a crossing and looked far on the straight railway.
Publish on npm
This procedure is that:
the patine user publishes the runnable-platform module.
-
Update the package information.
-
Update the value of ‘version’ on
package.json
. -
Update the
package-lock.json
.rm -rf node_modules rm package-lock.json npm install ../elephant-backup/
-
-
Login the
npm
command.npm login
npm
asks below, and answer password and one-time password arrived on Email.Username: patine Password: <patineās password> Email: (this IS public) <patineās email-address> Enter one-time password: <one time password on received email>
-
Publish the application.
npm publish
-
Logout the
npm
command.npm logout
Install Local RunnablePlatform
-
Install
-
Install the development version from a local directory.
cd elephant-backup npm install ../elephant-backup
-
Install the development version from GitHub.
npm install patineboot/elephant-backup
-
-
Run the development version.
npm start
Login again if install the node.js binary application with the –global option.