features/src/node/feature.json

32 lines
980 B
JSON
Raw Normal View History

{
"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"
},
"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."
}
},
"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"
}
}