So in this short tutorial video you are going to learn how to use "config set" to set a new value in json file .
steps:
1- open terminal window and navigate project folder .
2- use next command line and press enter : npm config set init-"type json file " "type value"
for example : to change author name I have to use next command line : npm config set init-author-name "myname"
3- delete current json file .
4- type next command line and press enter : npm init -y