프론트엔드-코드 237

node.js 패키지 생성

패키지 만들 폴더에 npm init -y Wrote to E:\webclass\day2\package.json: { "name": "day2", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC" } 위에 "" 안에가 명령어 들인데 npm run 명령어 npm run test 로 실행가능 명령어 바꿀 수 있음. package.json 파일이 패키지 파일인데 이거 수정하면 바꿀 수 있음. "scripts": { "test": "echo \"Erro..