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