I have seen that it is possible to define a task in the VSCode. But I am not sure how to define multiple tasks in the tasks.json file.
tasks.json
You can list more than one task in the tasks property. Something like:
"tasks": [ { "taskName": "build", ... }, { "taskName": "package", ... } ]