# express npm install express
# , package.json npm install # express package.json dependencies npm install express --save # grunt package.json devDependencies npm install grunt --save-dev
# - package.json npm config set save true
# , , package.json # "*" - npm update --save
Key | Reduction |
---|---|
install | i |
uninstall | r |
config | c |
update | up |
list | ls |
--save | -S |
--save-dev | -D |
npm install express --save # npm i express -S
# " " npm set init.author.name "$NAME" npm set init.author.email "$EMAIL" npm set init.author.url "$SITE"
# npm config ls -l
# update npm outdated
# , npm shrinkwrap
# NPM npm update npm -g
Source: https://habr.com/ru/post/206678/
All Articles