Publish components

Publish a component to npm

  1. Make sure that you have and https://www.npmjs.com account & that you have been added to the Whitespace organsation.
  2. Login with your user by running npm login
  3. Go to the component folder, e,g, /views/spc_example
  4. Run npm publish to publish the component. (Don’t forget to update the version number in package.json)

Further information is available here: https://docs.npmjs.com/getting-started/publishing-npm-packages