npm的操作
生成package.json文件
npm init --yes
npm中查看和安装package
npm list
npm list simditor
npm install simditor -g
npm install simditor
npm uninstall simditor
在npm中安装固定的版本号package
npm install --save simditor@2.3.6
npm install --save simditor@^2.3.6
npm install --save simditor@~2.3.6
更新npm
bundle exec rake npm:clean
bundle exec rake npm:install