Skip to content

Instantly share code, notes, and snippets.

@jungbin-kim
Last active August 30, 2017 09:22
Show Gist options
  • Save jungbin-kim/b516fb494db77432e1e6a8b418cb5f79 to your computer and use it in GitHub Desktop.
Save jungbin-kim/b516fb494db77432e1e6a8b418cb5f79 to your computer and use it in GitHub Desktop.

npm

npm을 이용하여 dependency library 추가

# --save 옵션을 통하여 package.json에 자동으로 추가 시켜줌
$ npm install {dependecy library name} --save

npm-package-locks

npm install을 할 경우, 패키지 내에 설정한 library의 버전들을 고정시켜주는 역할로 이해됨

참고

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment