From 7d741de348f7f217d342d27bdae1826a449f3d66 Mon Sep 17 00:00:00 2001 From: GregorioMonari <102193750+GregorioMonari@users.noreply.github.com> Date: Tue, 14 Feb 2023 18:36:56 +0100 Subject: [PATCH] ci --- .vscode/launch.json | 47 +++++++++++++++++++++++++++++++++++++++++++++ 2_PAC/package.json | 5 +++++ 2 files changed, 52 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..3544100c --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,47 @@ +{ + // 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": "Start AwTester", + "request": "launch", + "runtimeArgs": [ + "test" + ], + "runtimeExecutable": "npm", + "skipFiles": [ + "/**" + ], + "type": "node", + "cwd":"${workspaceFolder}\\2_PAC" + }, + + { + "name": "Start AwProducer", + "request": "launch", + "runtimeArgs": [ + "start" + ], + "runtimeExecutable": "npm", + "skipFiles": [ + "/**" + ], + "type": "node", + "cwd":"${workspaceFolder}\\1_ActivityWatchProducer" + }, + + { + "type": "node", + "request": "launch", + "name": "Launch PacFactory module", + "skipFiles": [ + "/**" + ], + "program": "${workspaceFolder}\\2_PAC\\runPacApp.js", + "args":["TestMaster"], + "cwd": "${workspaceFolder}\\2_PAC" + } + ] +} \ No newline at end of file diff --git a/2_PAC/package.json b/2_PAC/package.json index 396941bd..fa4e5ca6 100644 --- a/2_PAC/package.json +++ b/2_PAC/package.json @@ -1,4 +1,9 @@ { + + "scripts": { + "test": "node runPacApp TestMaster" + }, + "dependencies": { "@arces-wot/sepa-js": "^0.12.1", "body-parser": "^1.20.1",