-
Change library name in below files.
package.json
- name
- bin
- homepage
- repository
- bugs
README.md
- title
- badge of github actions
-
Execute
npm i
for installing node modules and remakepackage-lock.json
.
-
Check if it exists same name library.
npm info [library-name]
-
Login to npm.
npm login
-
Publish by below command.
npm publish