tfs: fix npm distro install

This commit is contained in:
Joao Moreno
2017-05-17 16:37:26 +02:00
parent 84d4fc595c
commit c0fd0eba1b
3 changed files with 12 additions and 4 deletions
Executable
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
export npm_config_disturl=https://atom.io/download/electron
export npm_config_target=$(node -p "require('./package.json').version")
export npm_config_runtime=electron
export npm_config_cache="$HOME/.npm-electron"
mkdir -p "$npm_config_cache"