Complete the code to initialize a new npm project with default settings.
npm [1] -yThe npm init -y command quickly creates a package.json file with default values.
Complete the JSON snippet to specify the main entry file in package.json.
"main": "[1]"
The main field tells Node.js which file to load first, usually index.js.
Fix the error in the package.json script to start the app with node.
"scripts": { "start": "node [1]" }
The start script should run the main JavaScript file, usually index.js.
Fill both blanks to add a dependency and save it to package.json.
npm [1] express [2]
Use npm install express --save to add express as a dependency in package.json.
Fill all three blanks to create a script that runs tests with jest.
"scripts": { "test": "[1] [2]" }, "devDependencies": { "[3]": "^29.0.0" }
The test script runs jest --coverage and jest is added as a devDependency.
