- make an account on npmjs.com
- verify your email address
- make an organization that's the same name as your github but lowercase (do this on npm)
- Add the other team members to the organization (1 person leads in doing this while the others get added in, like github)
- type
npm login
and login with your credentials / email address you entered - Edit the
package.json
file and make the following changes: "version"
set this to somethin like"0.0.1"
as this will be your 1st version / a test- find
"name"
and change this to be something like :"name": "@yourorganization/your-button"
where yourorganization is the one you created and your-button is the name of your tag.@
and the/
between org and project are required - Add the following to your package.json toward the bottom (making sure it's still valid json)
"private": false,
"publishConfig": {
"access": "public"
}