-
Notifications
You must be signed in to change notification settings - Fork 2
/
.devcontainer.json
44 lines (42 loc) · 1.22 KB
/
.devcontainer.json
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
38
39
40
41
42
43
44
// See https://aka.ms/vscode-remote/devcontainer.json for format details or
// https://aka.ms/vscode-dev-containers/definitions for sample configurations.
{
"name": "Airview Next",
"dockerFile": "Dockerfile.vscode",
"remoteUser": "vscode",
//"mounts": [
// "source=/Users/robe/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached"
//],
"forwardPorts": [3000, 6006],
"customizations": {
"codespaces": {
"openFiles": ["README.md", "src/pages/presentation.mdx"]
},
"vscode": {
"extensions": [
"GitHub.github-vscode-theme",
"GitHub.vscode-pull-request-github",
"esbenp.prettier-vscode",
"GitHub.copilot-labs",
"VisualStudioExptTeam.vscodeintellicode",
"dsznajder.es7-react-js-snippets",
"dbaeumer.vscode-eslint"
]
}
},
"portsAttributes": {
"3000": {
"label": "Next JS",
"onAutoForward": "silent"
},
"6006": {
"label": "Storybook",
"onAutoForward": "silent"
}
},
"postCreateCommand": "",
"postAttachCommand": {
// "fix npm" : "rm -Rf /workspaces/airview-next/node_modules && ln -s /tmp/npm/node_modules /workspaces/airview-next/node_modules"
"install modules" : "cd /workspaces/airview-next && npm i"
}
}