엉터리 개발 이야기

npm cli command

억삼이 2017. 11. 27. 15:31
반응형

npm cli command


https://docs.npmjs.com/cli


npm install : 모듈 설치

npm prune : package.json 에 정의 되지 않은 모듈 삭제

npm view

npm uninstall

npm update


^1.1.1 eq >= 1.1.1 and < 2.0.0

package.json 에 script 지정한 내용 실행

npm start 

npm test

npm run test1


node global 전역변수 관리하는 객체


반응형