ScoopInstaller_Main/bucket/nodejs-lts.json
2020-02-11 19:01:49 +00:00

50 lines
1.7 KiB
JSON

{
"homepage": "https://nodejs.org",
"description": "As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications. (Long Term Support)",
"version": "12.16.0",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v12.16.0/node-v12.16.0-win-x64.7z",
"hash": "09d0c8f0457ebdcab0a432b8756a8ce7baa2039ed6c98e52c292779d4062490f",
"extract_dir": "node-v12.16.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v12.16.0/node-v12.16.0-win-x86.7z",
"hash": "d24c1dc92e59a0cc8ac60e8cd9e3e41df0a45bb05ca73ad3e75367277339a237",
"extract_dir": "node-v12.16.0-win-x86"
}
},
"persist": [
"bin",
"cache"
],
"env_add_path": [
".",
"bin"
],
"post_install": [
"# Set npm prefix to install modules inside bin and npm cache so they persist",
"Set-Content -Value \"prefix=$persist_dir\\bin`ncache=$persist_dir\\cache\" -Path \"$dir\\node_modules\\npm\\npmrc\""
],
"checkver": {
"url": "https://nodejs.org/en/download/",
"re": "LTS Version: <strong>([\\d.]+)</strong>"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v$version/node-v$version-win-x64.7z",
"extract_dir": "node-v$version-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v$version/node-v$version-win-x86.7z",
"extract_dir": "node-v$version-win-x86"
}
},
"hash": {
"url": "$baseurl/SHASUMS256.txt.asc"
}
}
}