vscode/scripts/env.sh

7 lines
274 B
Bash
Raw Normal View History

#!/bin/bash
2017-05-17 14:37:26 +00:00
export npm_config_disturl=https://atom.io/download/electron
export npm_config_target=$(node -p "require('./build/lib/electron').getElectronVersion();")
2017-05-17 14:37:26 +00:00
export npm_config_runtime=electron
export npm_config_cache="$HOME/.npm-electron"
mkdir -p "$npm_config_cache"