aboutsummaryrefslogblamecommitdiff
path: root/src/node/devcontainer-feature.json
blob: c50b6128ba7cba632f27c33779395ecb0f3b89b0 (plain) (tree)
1
2
3
4
5
6
7
8

                 
                       
                                         
                                                                           


                             







                          


                                                                         
                                


                                                                                            
          
                           


                                                                  

         






                                        
                     
                                          

                                                
     
 
{
    "id": "node",
    "version": "1.0.2",
    "name": "Node.js (via nvm) and yarn",
    "description": "Installs Node.js, nvm, yarn, and needed dependencies.",
    "options": {
        "version": {
            "type": "string",
            "proposals": [
                "lts",
                "latest",
                "none",
                "18",
                "16",
                "14"
            ],
            "default": "lts",
            "description": "Select or enter a Node.js version to install"
        },
        "nodeGypDependencies": {
            "type": "boolean",
            "default": true,
            "description": "Install dependencies to compile native node modules (node-gyp)?"
        },
        "nvmInstallPath": {
            "type": "string",
            "default": "/usr/local/share/nvm",
            "description": "The path where NVM will be installed."
        }
    },
    "customizations": {
        "vscode": {
            "extensions": [
                "dbaeumer.vscode-eslint"
            ]
        }
    },
    "containerEnv": {
        "NVM_DIR": "/usr/local/share/nvm",
        "NVM_SYMLINK_CURRENT": "true",
        "PATH": "${NVM_DIR}/current/bin:${PATH}"
    }
}