From b6f62c82a5a38bd0720ef282fff0bafa956066d8 Mon Sep 17 00:00:00 2001 From: DevMirza <53424436+Zaid-maker@users.noreply.github.com> Date: Tue, 12 Dec 2023 17:11:52 +0500 Subject: [PATCH] Create devcontainer.json --- .devcontainer/devcontainer.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..5e77524 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,22 @@ +{ + "image": "mcr.microsoft.com/devcontainers/javascript-node:dev-18-bookworm", + "features": { + "ghcr.io/devcontainers/features/github-cli:1": {} + }, + "updateContentCommand": "npm ci", + "postCreateCommand": "", + "postAttachCommand": { + "open-port": "gh codespace ports visibility 3000:public -c $CODESPACE_NAME", + "dev": "npm run dev" + }, + "customizations": { + "vscode": { + "extensions": [ + "esbenp.prettier-vscode", + "GitHub.vscode-github-actions", + "bradlc.vscode-tailwindcss" + ] + } + }, + "forwardPorts": [3000] +}