mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
40 lines
797 B
JSON
40 lines
797 B
JSON
|
{
|
||
|
"name": "Astro Examples",
|
||
|
"build": {
|
||
|
"dockerfile": "../examples.Dockerfile"
|
||
|
},
|
||
|
|
||
|
"workspaceFolder": "/workspaces/astro/examples/framework-preact",
|
||
|
|
||
|
"portsAttributes": {
|
||
|
"3000": {
|
||
|
"label": "Application",
|
||
|
"onAutoForward": "openPreview"
|
||
|
}
|
||
|
},
|
||
|
|
||
|
"forwardPorts": [3000],
|
||
|
|
||
|
"postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build",
|
||
|
|
||
|
"waitFor": "postCreateCommand",
|
||
|
|
||
|
"postAttachCommand": {
|
||
|
"Server": "pnpm start --host"
|
||
|
},
|
||
|
|
||
|
"customizations": {
|
||
|
"codespaces": {
|
||
|
"openFiles": [
|
||
|
"src/pages/index.astro"
|
||
|
]
|
||
|
},
|
||
|
"vscode": {
|
||
|
"extensions": [
|
||
|
"astro-build.astro-vscode",
|
||
|
"esbenp.prettier-vscode"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|