1.加 npm install xxx --save 会将该依赖存入到package.json 里的dependcies里 2.不加 npm install xxx 则不会将该依赖存入到package.json 里的dependcies里