mirror of
https://github.com/BenRoe/awesome-mechanical-keyboard.git
synced 2024-11-22 04:23:05 +03:00
chore: adding devcontainer config (#155)
This commit is contained in:
parent
da4e0be950
commit
2f4e888a93
22
.devcontainer/devcontainer.json
Normal file
22
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "awesome-mechanical-keyboards",
|
||||
"image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu-22.04",
|
||||
"containerUser": "vscode",
|
||||
"postCreateCommand": "npm install",
|
||||
"postStartCommand": "nohup bash -c 'npm run start -- --host 0.0.0.0 &'",
|
||||
"waitFor": "postCreateCommand",
|
||||
"forwardPorts": [3000],
|
||||
"features": {
|
||||
"node": {
|
||||
"version": "20"
|
||||
}
|
||||
},
|
||||
"customizations": {
|
||||
"codespaces": {
|
||||
"openFiles": ["README.md", "CONTRIBUTING.md"]
|
||||
},
|
||||
"vscode": {
|
||||
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user