Skip to content

Commit c5de89f

Browse files
authored
Standardize devcontainer.json
1 parent 697a6bd commit c5de89f

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

.devcontainer/devcontainer.json

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
{
2+
"hostRequirements": {
3+
"cpus": 4
4+
},
5+
"waitFor": "onCreateCommand",
6+
"updateContentCommand": "npm install",
7+
"postCreateCommand": "",
28
"postAttachCommand": {
3-
"server": "npm start",
9+
"server": "npm start"
10+
},
11+
"customizations": {
12+
"codespaces": {
13+
"openFiles": [
14+
"index.js"
15+
]
16+
}
417
},
5-
618
"portsAttributes": {
719
"3000": {
820
"label": "Application",
921
"onAutoForward": "openPreview"
1022
}
11-
},
12-
13-
"customizations": {
14-
"codespaces": {
15-
"openFiles": ["index.js"]
16-
}
17-
},
18-
"onCreateCommand": "npm install",
19-
"postCreateCommand": "",
20-
"hostRequirements": {"cpus": 4}
21-
}
23+
}
24+
}

0 commit comments

Comments
 (0)