ScoopInstaller_Main/bucket/nodejs-lts.json
2022-09-23 16:30:59 +00:00

50 lines
1.7 KiB
JSON

{
"version": "16.17.1",
"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/v16.17.1/node-v16.17.1-win-x64.7z",
"hash": "9777e8c4b2864c5b54a0e4e9400f14887db68560a09b94b4113b560a64d1e680",
"extract_dir": "node-v16.17.1-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v16.17.1/node-v16.17.1-win-x86.7z",
"hash": "0f8101648d5c9e49e89fee541da9e574f899716c32b7c51a732b1766b9fc4526",
"extract_dir": "node-v16.17.1-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"
}
}
}