This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
rotini/Taskfile.frontend.yml

35 lines
740 B
YAML
Raw Permalink Normal View History

version: '3'
tasks:
bootstrap:
internal: true
cmd: . script/bootstrap
sources:
- "{{ .TASKFILE_DIR }}/yarn.lock"
generates:
- "{{ .TASKFILE_DIR }}/.yarn/*"
start:
desc: "Starts the frontend application."
deps: [bootstrap]
cmd: yarn start
build:
desc: "Build the app."
deps: [bootstrap]
cmd: yarn build
test:
desc: "Runs the frontend test suite."
deps: [bootstrap]
cmd: yarn test {{ .CLI_ARGS }}
lint:
desc: "Checks lint and formatting."
deps: [bootstrap]
cmd: yarn lint
lintfix:
desc: "Fixes lint and formatting."
deps: [bootstrap]
cmd: yarn lint:fix
typecheck:
desc: "Validates types."
deps: [bootstrap]
cmd: yarn typecheck