31 lines
No EOL
1.1 KiB
JSON
31 lines
No EOL
1.1 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.140.1/containers/typescript-node
|
|
{
|
|
"name": "Node.js & TypeScript",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
// Update 'VARIANT' to pick a Node version: 10, 12, 14
|
|
"args": {
|
|
"VARIANT": "14"
|
|
}
|
|
},
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {
|
|
"terminal.integrated.shell.linux": "/bin/zsh",
|
|
"workbench.sideBar.location": "right"
|
|
},
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"dbaeumer.vscode-eslint",
|
|
"ms-vscode.vscode-typescript-tslint-plugin"
|
|
],
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
"forwardPorts": [
|
|
3000,
|
|
8080
|
|
],
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
//"postCreateCommand": "yarn install",
|
|
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
|
//"remoteUser": "node"
|
|
} |