什么是" -s" in" npm run -s build"

时间:2017-12-14 12:40:09

标签: npm

"-s""npm run -s build"旗帜的目的是什么?我在npm docs中搜索过,但无法找到,这是"--silent"旗帜的别名吗?

1 个答案:

答案 0 :(得分:3)

根据: https://github.com/npm/npm/blob/5e426a78ca02d0044f8dd26e0c5f881217081cbd/doc/misc/npm-config.md

Shorthands and Other CLI Niceties
-s, --silent: --loglevel silent