From c05436f665b153a4318c2aaecc9b871f8c1c08d1 Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Sun, 24 Dec 2023 07:18:13 +0000 Subject: launch.json: Add --- .devcontainer/devcontainer.json | 6 ++++++ .vscode/launch.json | 15 +++++++++++++++ package.json | 2 +- 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 1121200..6621469 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -7,6 +7,12 @@ "customizations": { "vscode": { + "settings": { + "files.exclude": { + "**/.yarn": true, + "**/node_modules": true + } + }, "extensions": [ "ginfuru.better-nunjucks" ] diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..9b534f4 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // 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": [ + { + "type": "node-terminal", + "request": "launch", + "name": "11ty", + "command": "yarn start", + "cwd": "${workspaceRoot}" + } + ] +} \ No newline at end of file diff --git a/package.json b/package.json index 87c4b31..7bb69b7 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "clean": "rm -rf public/*", "format": "prettier -w src", "post-build": "badgen -j \"Last Publish\" -s \"$(date --date=\"@$(cat config.json | grep 'version' | grep -oe '[0-9]*')\" -I)\" -c blue > publish-badge.svg", - "serve": "npx @11ty/eleventy --serve" + "start": "npx @11ty/eleventy --serve" }, "devDependencies": { "@11ty/eleventy": "^2.0.1", -- cgit