The tasks.json file is added to configure build tasks for the project. It includes tasks for initializing the project, building the backend and frontend, running tests, linting, formatting, and installing dependencies.
48 lines
941 B
JSON
48 lines
941 B
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Init",
|
|
"type": "shell",
|
|
"command": "make init"
|
|
},
|
|
// make backend
|
|
{
|
|
"label": "Backend",
|
|
"type": "shell",
|
|
"command": "make backend"
|
|
},
|
|
// make frontend
|
|
{
|
|
"label": "Frontend",
|
|
"type": "shell",
|
|
"command": "make frontend"
|
|
},
|
|
// make test
|
|
{
|
|
"label": "Test",
|
|
"type": "shell",
|
|
"command": "make tests"
|
|
},
|
|
// make lint
|
|
{
|
|
"label": "Lint",
|
|
"type": "shell",
|
|
"command": "make lint"
|
|
},
|
|
// make format
|
|
{
|
|
"label": "Format",
|
|
"type": "shell",
|
|
"command": "make format"
|
|
},
|
|
// make install
|
|
{
|
|
"label": "Install",
|
|
"type": "shell",
|
|
"command": "make install_backend && make install_frontend"
|
|
}
|
|
]
|
|
}
|