The following commands are available through npm run
Command | Purpose |
---|---|
build | Build this project |
dist | Build this project in production mode |
lint | Check linting using ESLint |
test | Run tests |
- Edit
package.json
and update the version number - Add new contributors to the
contributors
section - Update the
CHANGELOG.md
- Update the
README.md
contributors section npm run build
npm run test
npm publish
npm publish --registry https://npm.fontawesome.com
(publish to Pro registry)git add . && git commit -m 'Release VERSION'
git push
- Create a new release with
CHANGELOG
details
Contributors with authorization to publish to npm.fontawesome.com will receive an invite from a Font Awesome project owner.
- Respond to the invite in your email
- Let the owner know when you've setup your account
- Owner will add you to the team
You can then run:
npm login --registry https://npm.fontawesome.com
- The username is the "slug" for your Cloudsmith account. For example mine is "rob-madole".
- Enter the password that you setup just a few minutes ago.
- It says the your email is PUBLIC. Pretty sure that's false since the auth is through Cloudsmith.
- This doesn't overwrite your standard login, just adds to your
~/.npmrc