Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created July 13, 2018 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdyrrahitis/b136dd13d6dc31fa5e806bce0dbed2c4 to your computer and use it in GitHub Desktop.
Save gdyrrahitis/b136dd13d6dc31fa5e806bce0dbed2c4 to your computer and use it in GitHub Desktop.
:: 3. Install npm packages
IF EXIST "%DEPLOYMENT_TARGET%\package.json"(
pushd "%DEPLOYMENT_TARGET%"
call : ExecuteCmd!NPM_CMD! install
call : ExecuteCmd!NPM_CMD! run tsc
IF!ERRORLEVEL! NEQ 0 goto error
popd
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment