From 75cbe4d5d0879cd0dd68bab224eb884e37989537 Mon Sep 17 00:00:00 2001 From: Tzahi12345 Date: Sun, 3 Dec 2023 07:39:53 +0000 Subject: [PATCH] Added codespaces json --- .devcontainer/devcontainer.json | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..99a4230 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,39 @@ +// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node +{ + "name": "Node.js", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/javascript-node:0-18-bullseye", + "features": { + "ghcr.io/devcontainers-contrib/features/jshint:2": {}, + "ghcr.io/devcontainers-contrib/features/angular-cli:2": {}, + "ghcr.io/devcontainers/features/github-cli:1": {} + }, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + "forwardPorts": [4200, 17442], + + // Use 'postCreateCommand' to run commands after the container is created. + "postCreateCommand": "npm install && cd backend && npm install", + + // Configure tool-specific properties. + "customizations": { + // Configure properties specific to VS Code. + "vscode": { + // Add the IDs of extensions you want installed when the container is created. + "extensions": [ + "ms-python.python", + "Angular.ng-template", + "dbaeumer.vscode-eslint", + "waderyan.gitblame", + "42Crunch.vscode-openapi", + "christian-kohler.npm-intellisense", + "redhat.vscode-yaml", + "hbenl.vscode-mocha-test-adapter", + "DavidAnson.vscode-markdownlint" + ] + } + } + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" + } \ No newline at end of file