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
Marc Cataford b77574e596
refactor(frontend): fetch to axios (#22)
* refactor: replace fetch with axios

* build(frontend): update test command to allow cli args passthrough
2023-08-18 05:24:12 +00:00

37 lines
760 B
YAML

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