What is the difference between --save and --save-dev?

What is the difference between --save and --save-dev?

What is the difference between:

npm install [package_name]

and:

npm install [package_name] --save

and:

npm install [package_name] --save-dev

What does this mean? And what is really the effect of --save and -dev keywords?

 

posted @ 2021-01-21 23:43  ChuckLu  阅读(95)  评论(0编辑  收藏  举报