20200526 TIL

sangminnn·2020년 5월 26일
0

TIL

목록 보기
1/2

npm update , npm install

https://stackoverflow.com/questions/12478679/npm-install-vs-update-whats-the-difference

update의 경우 있는 모듈도 최신화, install은 있는 모듈은 설치 x

Summary: The only big difference is that an already installed module with fuzzy versioning ...

  • gets ignored by npm install
  • gets updated by npm update

Additionallyinstall and update by default handle devDependencies differently

  • npm install will install/update devDependencies unless --production flag is added

  • npm update will ignore devDependencies unless --dev flag is added

  • manually install node-modules

  • set them as global (which puts them in the shell's PATH) using npm install -g <name>

  • install certain versions described by git tags

  • install from a git url

  • force a reinstall with --force


앞으로 공부해야 할 내용

  • React-Native, React-Navigation, React-Native-Navigation
  • Redux-thunk
  • aws (?)
profile
생각하며 코딩하려고 노력하는 개발자가 되겠습니다.

0개의 댓글