|
@ -6,11 +6,8 @@ VITE_BACK_PORT=$BACK_PORT |
|
|
EOF |
|
|
EOF |
|
|
|
|
|
|
|
|
npm install; |
|
|
npm install; |
|
|
if [[ $NODE_ENV == "development" ]]; then |
|
|
if [[ $NODE_ENV == "check" ]]; then |
|
|
npm run dev; |
|
|
|
|
|
elif [[ $NODE_ENV == "debug" ]]; then |
|
|
|
|
|
npm run dev; |
|
|
|
|
|
elif [[ $NODE_ENV == "check" ]]; then |
|
|
|
|
|
npm run format && npm run check; echo "=== FINISH ===" |
|
|
npm run format && npm run check; echo "=== FINISH ===" |
|
|
else echo "Nothing to do for that NODE_ENV context."; |
|
|
else |
|
|
|
|
|
npm run dev; |
|
|
fi; |
|
|
fi; |
|
|