mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
e66847b36e
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
34 lines
670 B
JSON
34 lines
670 B
JSON
{
|
|
"name": "Vitest",
|
|
"build": {
|
|
"dockerfile": "../examples.Dockerfile"
|
|
},
|
|
|
|
"workspaceFolder": "/workspaces/astro/examples/with-vitest",
|
|
|
|
"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"]
|
|
}
|
|
}
|
|
}
|