funquail/front/Taskfile.yml

35 lines
663 B
YAML
Raw Normal View History

# https://taskfile.dev
version: '3'
vars:
TASK_LIST: task -l
tasks:
default:
cmds:
- echo "See a list of the available tasks with {{.TASK_LIST}}"
silent: true
install:
desc: Install required dependencies
cmds:
- yarn install
build:
desc: Build the frontend
cmds:
- task: install
- yarn build:deployment
env:
NODE_ENV: production
build-dev:
desc: Build the frontend (for developer usage)
cmds:
- task: install
- yarn build
env:
NODE_ENV: development
serve:
desc: Run a staging server (for developer usage)
cmds:
- task: install
- yarn serve