package.bat 370 B

123456789101112131415161718
  1. @echo off
  2. echo.
  3. echo [信息] 安装Web工程,生成node_modules文件。
  4. echo.
  5. %~d0
  6. cd %~dp0
  7. cd ..
  8. call npm install --registry=https://registry.npm.taobao.org
  9. echo npm install --registry=https://registry.npmjs.org/
  10. echo npm install --registry=https://registry.npmmirror.com/
  11. echo npm install --registry=https://mirrors.cloud.tencent.com/npm/
  12. echo.
  13. echo 完成!
  14. echo. & pause