npm.cmd 518 B

1234567891011121314151617181920
  1. :: Created by npm, please don't edit manually.
  2. @ECHO OFF
  3. SETLOCAL
  4. SET "NODE_EXE=%~dp0\node.exe"
  5. IF NOT EXIST "%NODE_EXE%" (
  6. SET "NODE_EXE=node"
  7. )
  8. SET "NPM_PREFIX_JS=%~dp0\node_modules\npm\bin\npm-prefix.js"
  9. SET "NPM_CLI_JS=%~dp0\node_modules\npm\bin\npm-cli.js"
  10. FOR /F "delims=" %%F IN ('CALL "%NODE_EXE%" "%NPM_PREFIX_JS%"') DO (
  11. SET "NPM_PREFIX_NPM_CLI_JS=%%F\node_modules\npm\bin\npm-cli.js"
  12. )
  13. IF EXIST "%NPM_PREFIX_NPM_CLI_JS%" (
  14. SET "NPM_CLI_JS=%NPM_PREFIX_NPM_CLI_JS%"
  15. )
  16. "%NODE_EXE%" "%NPM_CLI_JS%" %*