52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.158.0/containers/javascript-node
|
|
{
|
|
"name": "Node.js",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
// Update 'VARIANT' to pick a Node version: 10, 12, 14
|
|
"args": {}
|
|
},
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {
|
|
"terminal.integrated.shell.linux": "/usr/bin/zsh"
|
|
},
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"dbaeumer.vscode-eslint",
|
|
"formulahendry.auto-rename-tag",
|
|
"ms-vscode-remote.remote-containers",
|
|
"benshabatnoam.google-translate-ext",
|
|
"wix.vscode-import-cost",
|
|
"eg2.vscode-npm-script",
|
|
"christian-kohler.npm-intellisense",
|
|
"christian-kohler.path-intellisense",
|
|
"kodetech.electron-debug",
|
|
"coenraads.bracket-pair-colorizer",
|
|
"aaron-bond.better-comments",
|
|
"msjsdiag.debugger-for-chrome",
|
|
"smcpeak.default-keys-windows",
|
|
"vscode-icons-team.vscode-icons",
|
|
"me-dutour-mathieu.vscode-github-actions",
|
|
"cschleiden.vscode-github-actions"
|
|
],
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
/*
|
|
"forwardPorts": [
|
|
19132,
|
|
19133,
|
|
1932,
|
|
6565
|
|
],
|
|
*/
|
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
"postCreateCommand": "npm install --no-save",
|
|
|
|
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
"remoteUser": "node"
|
|
}
|