Skip to content

Commit 75d0f2f

Browse files
rmdashthephez
andauthored
added devcontainer.json manually (#13)
* added devcontainer.json manually * Update devcontainer.json Co-authored-by: thephez <thephez@users.noreply.github.com> * Update devcontainer.json Co-authored-by: thephez <thephez@users.noreply.github.com> * moved to subdirectory * Update .gitignore * deleted the file * changed folder name * Update .devcontainer/devcontainer.json Co-authored-by: thephez <thephez@users.noreply.github.com> * Update .devcontainer/devcontainer.json Co-authored-by: thephez <thephez@users.noreply.github.com> * Change devcontainer name --------- Co-authored-by: thephez <thephez@users.noreply.github.com>
1 parent 96fdf02 commit 75d0f2f

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
3+
{
4+
"name": "Tutorials",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-16",
7+
"features": {
8+
"ghcr.io/devcontainers-contrib/features/jshint:2": {}
9+
},
10+
11+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12+
// "forwardPorts": [],
13+
14+
// Use 'postCreateCommand' to run commands after the container is created.
15+
"postCreateCommand": "npm install",
16+
17+
// Configure tool-specific properties.
18+
"customizations": {
19+
// Configure properties specific to VS Code.
20+
"vscode": {
21+
// Add the IDs of extensions you want installed when the container is created.
22+
"extensions": [
23+
"streetsidesoftware.code-spell-checker"
24+
]
25+
}
26+
}
27+
28+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
29+
// "remoteUser": "root"
30+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
22
.env
3+
.DS_Store

0 commit comments

Comments
 (0)