ScoopInstaller_Main/bucket/nodejs-lts.json
2021-02-23 14:01:49 +00:00

50 lines
1.7 KiB
JSON

{
"version": "14.16.0",
"description": "As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications. (Long Term Support)",
"homepage": "https://nodejs.org",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v14.16.0/node-v14.16.0-win-x64.7z",
"hash": "67f352be37b1b0c00ff7531e6b2a93b0021e5f06743f16394b9dbd6fc47a7fe9",
"extract_dir": "node-v14.16.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v14.16.0/node-v14.16.0-win-x86.7z",
"hash": "0f862027290301918db84dd705024a9b623a08f2ad86dfb3829c32c9c050e25c",
"extract_dir": "node-v14.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/",
"regex": "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"
}
}
}