1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00
Files
my-website/.vscode/tasks.json
T

78 lines
1.3 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [],
"label": "npm: build",
"detail": "Build project"
},
{
"type": "npm",
"script": "install",
"group": "build",
"problemMatcher": [],
"label": "npm: install",
"detail": "Restore dependencies"
},
{
"type": "npm",
"script": "dev",
"group": {
"kind": "test",
"isDefault": true
},
"problemMatcher": [],
"label": "npm: dev",
"detail": "Start development server"
},
{
"type": "npm",
"script": "lint",
"group": "test",
"problemMatcher": [],
"label": "npm: lint",
"detail": "Run ESLint"
},
{
"type": "shell",
"command": "docker",
"args": [
"build",
"-t",
"my-website",
"./"
],
"options": {
"cwd": "${workspaceFolder}"
},
"group": "build",
"problemMatcher": [],
"label": "docker: build",
"detail": "Build a Docker image"
},
{
"type": "shell",
"command": "docker",
"args": [
"run",
"--rm",
"--env-file",
".env.local",
"-p",
"3000:3000",
"my-website"
],
"group": "test",
"problemMatcher": [],
"label": "docker: run",
"detail": "Run the Docker container"
}
]
}