From ccf476ef224d0392993fa73afcf9316565a13f50 Mon Sep 17 00:00:00 2001 From: Kaede Fujisaki Date: Sat, 16 Nov 2024 15:36:22 +0000 Subject: [PATCH] Use tasks.json --- .vscode/launch.json | 22 ---------------------- .vscode/tasks.json | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 22 deletions(-) delete mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 708295d..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "test", - "request": "launch", - "runtimeArgs": [ - "run", - "test" - ], - "runtimeExecutable": "npm", - "skipFiles": [ - "/**" - ], - "cwd": "${workspaceFolder}/server", - "type": "node" - } - ] -} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..31d7f7c --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,14 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "test", + "path": "server", + "group": "test", + "problemMatcher": [], + "label": "npm: run test - server", + "detail": "mocha" + } + ] +}