-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.devcontainer.json
More file actions
41 lines (41 loc) · 911 Bytes
/
.devcontainer.json
File metadata and controls
41 lines (41 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "OpenHomeFoundation/website",
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
"forwardPorts": [
8080
],
"portsAttributes": {
"8080": {
"label": "Preview"
}
},
"postCreateCommand": {
"node": ". ${NVM_DIR}/nvm.sh && nvm install && nvm alias default $(cat .nvmrc) && npm install"
},
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "default"
}
},
"customizations": {
"vscode": {
"extensions": [
"esbenp.prettier-vscode",
"yzhang.markdown-all-in-one",
"davidanson.vscode-markdownlint"
],
"settings": {
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"files.trimTrailingWhitespace": true
}
}
}
}