Skip to content

Commit d91bcdd

Browse files
authored
chore: add devcontainer setup (#123)
1 parent 21a5ab7 commit d91bcdd

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "open-qa",
3+
"image": "mcr.microsoft.com/devcontainers/typescript-node:20",
4+
"postCreateCommand": "PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm ci && npx playwright install --with-deps chromium",
5+
"forwardPorts": [5173, 3001],
6+
"portsAttributes": {
7+
"5173": {
8+
"label": "Vite UI",
9+
"onAutoForward": "notify"
10+
},
11+
"3001": {
12+
"label": "Express API",
13+
"onAutoForward": "silent"
14+
}
15+
},
16+
"customizations": {
17+
"vscode": {
18+
"extensions": [
19+
"dbaeumer.vscode-eslint",
20+
"ms-playwright.playwright",
21+
"bradlc.vscode-tailwindcss"
22+
]
23+
}
24+
}
25+
}

0 commit comments

Comments
 (0)