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