From 56c437e92f5827de29c12e23a4b580586eb54dde Mon Sep 17 00:00:00 2001 From: Ethanp210 <150268973+Ethanp210@users.noreply.github.com> Date: Thu, 9 Jan 2025 21:03:45 +0000 Subject: [PATCH] Automatically start when opened through codespaces. --- .vscode/tasks.json | 12 ++++++++++++ package.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..4326305e --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,12 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "start", + "runOptions": { + "runOn": "folderOpen" + } + } + ] + } \ No newline at end of file diff --git a/package.json b/package.json index 9d0316fb..9a7152c0 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "55gms game site", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "start": "node ." }, "author": "", "license": "ISC",