npm init 실행이 완료되면 폴더에 다음과 같은 파일이 생성됩니다.
package.json
{
"name": "npmtest",
"version": "0.0.1",
"description": "hello package.json",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "ZeroCho",
"license": "ISC"",
"type": "commonjs"
}
미리 보기에 나왔던 그대로 생성되었습니다. 혹시 package.json의 내용이 다르다면 앞으로의 실습을 위해 위와 같이 내용을 수정해주세요(author에는 여러분의 이름을 적으세요).