[React] node_modules

Walter·2021년 11월 2일
0

React

목록 보기
1/1
post-thumbnail

source tree에서 node_modules는 해당프로젝트에대한 라이브러리가 저장되어 있는 곳이다.
package.json에서 해당 라이브러리가 뭐가 설치되어있는지 확인이 가능하다.

/*package.json*/

"dependencies": {
    "@testing-library/jest-dom": "^5.14.1",
    "@testing-library/react": "^11.2.7",
    "@testing-library/user-event": "^12.8.3",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-scripts": "4.0.3",
    "web-vitals": "^1.1.2"
  }

node_modules는 용량이커서 gitignore을 통해서 올리지 않도록하자 그리고 필요시에 "npm install"을 통해서 다운받도록 한다.


profile
지식은 서로 공유하는것

0개의 댓글