forked from TechIsHiring/techishiring-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
37 lines (37 loc) · 960 Bytes
/
devcontainer.json
File metadata and controls
37 lines (37 loc) · 960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "TechisHiring Website",
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-20",
"hostRequirements": {
"cpus": 4
},
// install dependencies and start storybook
"updateContentCommand": "npm install",
"postAttachCommand": "npm run storybook",
"customizations": {
"codespaces": {
"openFiles": [
"src/stories/pages/home.stories.tsx"
]
},
// install some vscode extensions
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"github.vscode-pull-request-github",
"eamodio.gitlens",
"christian-kohler.npm-intellisense"
]
}
},
// connect to remote server
"forwardPorts": [6006],
"portsAttributes": {
"6006": {
"label": "Storybook",
"onAutoForward": "openPreview"
}
}
}
}