aboutsummaryrefslogtreecommitdiff
path: root/front-end/Taskfile.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'front-end/Taskfile.yaml')
-rw-r--r--front-end/Taskfile.yaml11
1 files changed, 8 insertions, 3 deletions
diff --git a/front-end/Taskfile.yaml b/front-end/Taskfile.yaml
index 9e2e28f..5ac845e 100644
--- a/front-end/Taskfile.yaml
+++ b/front-end/Taskfile.yaml
@@ -5,6 +5,11 @@ version: '3'
tasks:
+ package-update:
+ dir: '{{.USER_WORKING_DIR}}'
+ cmds:
+ - npm update
+
build:
cmds:
#install deps and run build
@@ -21,7 +26,7 @@ tasks:
clean:
ignore_error: true
cmds:
- - cmd: powershell -Command "Remove-Item -Recurse -Force node_modules"
- - cmd: powershell -Command "Remove-Item -Recurse -Force dist"
- - cmd: powershell -Command "Remove-Item -Recurse -Force bin"
+ - for: [ node_modules/, dist/, bin/ ]
+ cmd: powershell -Command "Remove-Item -Recurse -Force {{.ITEM}}"
+
- cmd: powershell -Command "Remove-Item release.tgz" \ No newline at end of file