adopt yarn in scripts

This commit is contained in:
Joao Moreno
2017-11-16 10:47:02 +01:00
parent 5d4d38543a
commit 4537783742
7 changed files with 7 additions and 39 deletions
+1 -7
View File
@@ -1,8 +1,2 @@
@echo off
setlocal
set npm_config_disturl="https://atom.io/download/electron"
for /f "tokens=2 delims=:, " %%a in ('findstr /R /C:"\"electronVersion\":.*" "%~dp0..\package.json"') do set npm_config_target=%%~a
set npm_config_runtime="electron"
set npm_config_cache=~\.npm-electron
npm %*
endlocal
yarn %*