9 lines
189 B
Bash
9 lines
189 B
Bash
#!/bin/sh
|
|
set -eu
|
|
|
|
if [ ! -f node_modules/.package-lock.json ] \
|
|
|| [ package-lock.json -nt node_modules/.package-lock.json ]; then
|
|
npm install --no-fund --no-audit
|
|
fi
|
|
exec npm run dev
|