aboutsummaryrefslogtreecommitdiff
path: root/src/node/devcontainer-feature.json
blob: 8d3bda6f3aaa7e87f2a25d174258214a0cc24484 (plain) (blame)
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
{
    "id": "node",
    "name": "Node.js (via nvm) and yarn",
    "options": {
        "version": {
            "type": "string",
            "proposals": [
                "lts",
                "latest",
                "none",
                "18",
                "16",
                "14"
            ],
            "default": "lts",
            "description": "Select or enter a Node.js version to install"
        },
        "install_tools_for_node_gyp": {
            "type": "boolean",
            "default": true,
            "description": "Install dependencies to compile native node modules (node-gyp)?"
        },
        "nvm_install_path": {
            "type": "string",
            "default": "/usr/local/share/nvm",
            "description": "The path where NVM will be installed."
        }
    },
    "extensions": [
        "dbaeumer.vscode-eslint"
    ],
    "containerEnv": {
        "NVM_DIR": "/usr/local/share/nvm",
        "NVM_SYMLINK_CURRENT": "true",
        "PATH": "${NVM_DIR}/current/bin:${PATH}"
    },
    "install": {
        "app": "",
        "file": "install.sh"
    }
}