ScoopInstaller_Main/bucket/nodejs-lts.json
2020-06-30 14:00:34 +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.18.2",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v12.18.2/node-v12.18.2-win-x64.7z",
"hash": "cb356e145568ec301c2b735e5000f682bdd070995f1191449d5d47091776b104",
"extract_dir": "node-v12.18.2-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v12.18.2/node-v12.18.2-win-x86.7z",
"hash": "375d5412e5b215721c0468b833336255c0fad3c32d4b625e6f2ddc3e894a9e78",
"extract_dir": "node-v12.18.2-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"
}
}
}