File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -692,6 +692,8 @@ npm install --save-dev zombie
692692```
693693
694694
695+ see [ node 测试] ( https://github.com/nodeonly/nodejs-tutorial/blob/master/doc/day5_test.md )
696+
695697## 阅读文档
696698
697699### getting start
Original file line number Diff line number Diff line change @@ -699,7 +699,16 @@ <h4>package.json</h4>
699699
700700< p > devDependencies下列出的模块,是我们开发时用的,比如grunt-contrib-uglify,我们用它混淆js文件,它们不会被部署到生产环境。dependencies下的模块,则是我们生产环境中需要的依赖。</ p >
701701
702- < h4 > npm install --save 和 npm install --save-dev的区别:</ h4 >
702+ < h4 > npm参数说明</ h4 >
703+
704+ < p > npm install --save 和 npm install --save-dev的区别:</ p >
705+
706+ < p > 说明</ p >
707+
708+ < ul >
709+ < li > save会自动保存到package.json里</ li >
710+ < li > save-dev会保存到devDependencies模块下,save会保存到dependencies</ li >
711+ </ ul >
703712
704713< p > devDependencies下列出的模块,是我们开发时用的,比如grunt-contrib-uglify,我们用它混淆js文件,它们不会被部署到生产环境。dependencies下的模块,则是我们生产环境中需要的依赖。</ p >
705714
You can’t perform that action at this time.
0 commit comments