[React] package.json이란?
리액트를 배우다보면 package.json 이라는 파일이 있다 대체 뭐하는 파일인지 궁했는데 조금씩 알아보기로 하자 ! 먼저 package.json을 보자 { "name": "react-hyemin", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "start" : "node index.js", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "hyeminPark", "license": "ISC", "dependencies": { "express": "^4.17.1" } } 안에 "start"라고 명시되어있는 건 npm run start 를 실행할 때 ..
React
2020. 11. 13. 21:07