-
Notifications
You must be signed in to change notification settings - Fork 0
/
devcontainer.json
84 lines (72 loc) · 3.36 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-docker-compose
{
"name": "react-js",
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
// Add a .devcontainer/docker-compose.yml file with any overrides you need/want to make.
"dockerComposeFile": [
"../compose-dev.yaml"
],
// The 'service' property is the name of the service for the container that VS Code should
// use. Update this value and .devcontainer/docker-compose.yml to the real service name.
"service": "react-js",
// The optional 'workspaceFolder' property is the path VS Code should open by default when
// connected. This is typically a file mount in .devcontainer/docker-compose.yml
"workspaceFolder": "/usr/app",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
/*------------------------------------------------------------------------
----------------------------LANGUAGE SUPPORT------------------------------
------------------------------------------------------------------------*/
// Linting for JavaScript
"dbaeumer.vscode-eslint",
// HTML Boilerplate Quickstart
"sidthesloth.html5-boilerplate",
// Autocomplete for HTML/XML tags
"formulahendry.auto-close-tag",
// CSS Intellisense for HTML
"ecmel.vscode-html-css",
// Peek and go to CSS class definitions
"pranaygp.vscode-css-peek",
// Autocomplete npm modules in import statements
"christian-kohler.npm-intellisense",
// Collection of over 130 jQuery Code Snippets
"donjayamanne.jquerysnippets",
/*------------------------------------------------------------------------
-----------------------------DEVOPS SUPPORT-------------------------------
------------------------------------------------------------------------*/
// Git for version control
"eamodio.gitlens",
// Launch a development local Server with live reload feature for static & dynamic pages
"ritwickdey.LiveServer",
/*------------------------------------------------------------------------
----------------------------OTHER UTILITIES-------------------------------
------------------------------------------------------------------------*/
// Customized icon theme
"PKief.material-icon-theme",
// Markdown utilities: Autocomplete, Table-of-Contents, keyboard shortcuts...
"yzhang.markdown-all-in-one",
// Linting for Markdown
"DavidAnson.vscode-markdownlint",
// YAML validation, autocompletion
"redhat.vscode-yaml",
// Linter for Shell scripts
"timonwong.shellcheck"
]
}
},
// Deploy production build on local device.
"postCreateCommand": "serve -s thoughts/build",
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Uncomment the next line if you want start specific services in your Docker Compose config.
// "runServices": [],
// Keep containers running after VS Code shuts down.
"shutdownAction": "none"
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "devcontainer"
}