15 lines
123 B
Text
15 lines
123 B
Text
|
#!/bin/bash
|
||
|
|
||
|
if [ -z "$NVM_DIR" ]
|
||
|
then
|
||
|
NVM_DIR="~/.nvm"
|
||
|
fi
|
||
|
|
||
|
. $NVM_DIR/nvm.sh
|
||
|
nvm install
|
||
|
nvm use
|
||
|
|
||
|
set -e
|
||
|
|
||
|
npm install
|