Is package.json supposed to be manually edited? Couldn\'t a program like npm just look through the files, see the \"require\" statements, and then use that to put the necess
Running npm init -y makes your package.json with all the defaults.
You can then change package.json accordingly
This saves time many a times by preventing pressing enter on every command in npm init