mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-25 10:37:30 +08:00
feat(.devcontainer): basic codespaces config (#48484)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
This commit is contained in:
co-authored by
Mrugesh Mohapatra
parent
0a7b769b40
commit
1ba31f0833
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"context": "../..",
|
||||
"customizations": {
|
||||
"codespaces": {
|
||||
"openFiles": ["docs/how-to-work-on-the-docs-theme.md"]
|
||||
},
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"esbenp.prettier-vscode",
|
||||
"freeCodeCamp.freecodecamp-dark-vscode-theme"
|
||||
]
|
||||
}
|
||||
},
|
||||
"dockerFile": "Dockerfile",
|
||||
"forwardPorts": [3400],
|
||||
"portsAttributes": {
|
||||
"3400": {
|
||||
"label": "Docs",
|
||||
"onAutoForward": "openPreview"
|
||||
}
|
||||
},
|
||||
"postAttachCommand": "npm run docs:serve"
|
||||
}
|
||||
Reference in New Issue
Block a user