14 lines
170 B
Bash
14 lines
170 B
Bash
#!/bin/sh
|
|
if ! npm i
|
|
then
|
|
echo "Failed to install dependencies" >&2
|
|
exit 4
|
|
fi
|
|
|
|
if ! npm run build
|
|
then
|
|
echo "Failed to build project" >&2
|
|
exit 5
|
|
fi
|
|
|
|
npm run start |