-
Notifications
You must be signed in to change notification settings - Fork 0
Create your own card
Indra Palijama edited this page Oct 23, 2021
·
1 revision
Let's start.
- Be sure to give this repo a star (if you find this repo useful)
- Fork this repo to have your own version
- Clone your "forked" version into your own machine
- Open the repo into the editor you prefer
- Edit the
package.json
file in order to change the author, the description, or the project version. - To change the messages, you can change the content of this array
- You can also change the color of the fonts to your likings, you can refer to chalk library npm site
- If you already have an account in npm jump to the next section
- Register into NPM official site
- Check your mailbox to confirm your registered email.
- To login to npm in your machine type this command
npm login
- Once you're feeling satisfied with the changes you made, let's make a commit and push.
- Run
npm version patch
ornpm version 'your custom version'
- Run the command
npm publish
and that's it, wait for the progress to finished.
- open your terminal
- run
npx 'your package name'
(in my case, it'snpx indrapalijama
) - voila!