Skip to content

Publishing to NPM

Bassem AlSabbagh edited this page Apr 23, 2024 · 7 revisions

To publish to npm is by edit the package.json files then executing the commands:

  1. Make sure you have access rights to the NPM organizations related, namely:

a. https://www.npmjs.com/settings/responsive-ui/packages

b. https://www.npmjs.com/settings/wetix/packages

Note: we're working on moving responsive-ui package into responsive-ui orgnisations.

  1. After you're done with the development run npm run bump then npm run gitcommit

  2. Push your changes

  3. npm login to log in with your npm account that has write permissions and enter authenticator pin if needed

  4. npm publish --access public

  5. Check the results on your terminal

Clone this wiki locally