ScoopInstaller_Main/bucket/nodejs-lts.json
2021-08-11 09:52:02 -07:00

50 lines
1.7 KiB
JSON

{
"version": "14.17.5",
"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.17.5/node-v14.17.5-win-x64.7z",
"hash": "f6e651a76e0158e07ac12753c40739554455f42eec355a651242a28ed979e483",
"extract_dir": "node-v14.17.5-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v14.17.5/node-v14.17.5-win-x86.7z",
"hash": "2f2933bfb42d407b064f83c6047f71b75c55389b4bebf82b7ff5a97f4635ce54",
"extract_dir": "node-v14.17.5-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"
}
}
}