ScoopInstaller_Main/bucket/nodejs-lts.json
2021-09-28 12:00:39 +00:00

50 lines
1.7 KiB
JSON

{
"version": "14.18.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.18.0/node-v14.18.0-win-x64.7z",
"hash": "7a6681ec8df968421abec28d6fa957fdddf1f7708e52ac0d069e0108a4baa0e5",
"extract_dir": "node-v14.18.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v14.18.0/node-v14.18.0-win-x86.7z",
"hash": "aa2da586d71437468f36c7e5f7143a2f5f8589e2e2d47c4303b2e221a498ecc6",
"extract_dir": "node-v14.18.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"
}
}
}